UNEXPECTED INCONSISTENCY: RUN fsck MANUALLY
When there is an unexpected situation in the day, when there is a power outage in the computer room or there is a problem with the power supply, it will cause a crash or a direct power outage, which is a relatively normal situation. These inexplicable deaths cause confusion in the mail system, which can be urgently checked using the following steps, keeping in mind that it can only be run in an emergency, otherwise it may cause harm to the system.
Methods / steps
When starting up, the following interface appears. See the prompt to press CTRL+D to continue, press CTRL+D to restart, and return to this interface again.
Enter the password for root in this interface. Will enter repair mode.
In repair mode, enter the command fsck-y / dev/mapper/VolGroup-lv_root
The path that follows this is the one you mentioned above. Don't follow the editor directly. Each path is different.
After typing, the hard drive will be checked, the process depends on the specific situation, for example, if your hard drive is T-level, it may take a while, even if it reaches 7-8 hours is normal. Finally, after checking, reboot restarts the server.
Restart, you can see the normal login interface, enter the user name, password, you can log in normally.
Post a command of Brother Bird's fsck below.
The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.