After CentOS 6.5 is powered off, the following error occurs: unexpected inconsistency run f.

Source: Internet
Author: User

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
  1. 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
  1. 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
  1. 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.

Related Article

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.