After CentOS 6.5 is powered off, the following error occurs: unexpected inconsistency run f.
After CentOS 6.5 is powered off, the following error occurs: unexpected inconsistency run fsck manully
For example:
Solution:
1. Enter the password of the root user and press Enter;
2. Execute the following command to repair the disk
[Plain] view plaincopy
- Fsck-y/dev/mapper/VolGroup-lv_root
Note: What I 've encountered is "/dev/mapper/VolGroup-lv_root", you don't have to be here, please note, in the directory before the error message "unexpected inconsistency run fsck manully"
3. Restart [plain] view plaincopy
- Reboot
Fsck
The fsck (file system check) is used to check and maintain inconsistent file systems. If the system power is down or the disk is faulty, use the fsck command to check the file system.
Summary
The "Control-D" prompted at the end of the error message is used to restart the system;
If you find many results, you need to execute the following command to view the partition where the root user is located. You do not need to check the directory before the error message "unexpected inconsistency run fsck manully.
[Plain] view plaincopy
- Mount | grep 'on /'
If the CentOS virtual machine is installed in the system, this problem also occurs on the virtual machine!
A hard disk error may occur in multiple partitions or directories, so you may have a similar error after a restart, and you need to continue to fix it.