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)