Linux system failure-repair filesystem

Source: Internet
Author: User

FSCK/DEV/HDDN (represents the zone where the root directory resides)

Fsck-a-y

Reboot the system can go in:-)

The main options for the fsck command are as follows:

    • -A checks all file systems listed in the Etc/fstab file. The fsck command with this option usually appears in the system's initial file/ETC/RC, which eliminates the need to use multiple FSCK commands for multiple file systems.
    • -R When installing the file system using the FSCK command with the-a flag, only the file system outside the root file system is checked.
    • -T does not display a caption at startup.
    • -N shows only the actions that the FSCLL program should do, but does not really do these things.
    • -P When checking the file system with the FSCK command line with the-a flag, the FSCK program is required to check the file system in parallel while checking the root file system.
    • -V The description of the run procedure for the output program.
    • -S executes the fsck command one by one to check the file system.
    • -C Displays the complete check progress.
    • -T fstype specifies the type of file system that the FSCK program examines.
    • -R If the check is wrong, the user answers whether the repair

Vi/etc/fstab prompt, read-only, that is, no permission to modify.

So, we enter Mount-o REMOUNT,RW/comma money there is no space, must have/this

Re-mount as read-write mode.

Again Vi/etc/fstab found can be modified, modification completed, restart, normal.

Linux system failure-repair filesystem

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.