Database server Input/output error (failure 20170122)

Source: Internet
Author: User


Describe:

Database system alarm, log in to view the use of System command error, prompt input/output error


Simulate the fault handling process:

When you check the file system, the file system must be uninstalled. When an error occurs, Fsck prompts for a fix,

You can use the-y parameter: Do not prompt for repair

Fsck-check and repair a Linux file system

# df-h

Filesystem Size used Avail use% mounted on

/dev/mapper/vg_mysql80-lv_root

26G 4.8G 20G 20%/

Tmpfs 1.9G 72K 1.9G 1%/DEV/SHM

/DEV/SDA1 477M 34M 419M 8%/boot

# UMOUNT/DEV/SDA1

# df-h

Filesystem Size used Avail use% mounted on

/dev/mapper/vg_mysql80-lv_root

26G 4.8G 20G 20%/

Tmpfs 1.9G 72K 1.9G 1%/DEV/SHM

# FSCK/DEV/SDA1

Fsck from Util-linux-ng 2.17.2

E2fsck 1.41.12 (17-may-2010)

/dev/sda1:clean, 39/128016 files, 58198/512000 blocks

# reboot

##########################################

If the clean state indicates that the file system is not a problem

FSCK automatically detects file system types, preferably with one parameter if damage is more severe

# fsck-t EXT4/DEV/SDA1
Corrupted data fsck will be placed in the/lost+found directory
The system automatically performs a fsck operation on the file system when it starts, checking the disk for errors.



This article is from the "ROIDBA" blog, make sure to keep this source http://roidba.blog.51cto.com/12318731/1893764

Database server Input/output error (failure 20170122)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.