Accidental power outage once, CentOS startup times following error:
Unexpected inconsistency; RUN fsck Manuallyan Error occurred during the filesystem checkpropping you to shell the system would rebootwhen you leave T He shellgive root password for mantennance
here's how to fix it:
1, follow the prompts, enter the root user's password, enter the command line interface
2. Locate the root directory and the boot partition and log:
# Mount |grep "On/"
3. Repair File System
# fsck-y/dev/sda2
The/dev/sda2 here is the one read in step 2.
The-y option specifies that each file is automatically entered Yes
4. Repair boot partition
(In fact, you can directly reboot, if the restart after the error is still performed this step)
# fsck-y/DEV/SDA1
5. Modify the permissions of the AUDITD log file
(This step is the same as Step 4, if you restart the error to perform this step)
# chown Root.root/var/log/audit/audit.log
# chmod 600/var/log/audit/audit.log
6. Restart
# reboot
Note: When fsck scans the file system, it must be in single-user mode, repair mode, or after umount the device
Linux boot error unexpected inconsistency; RUN fsck Manually