Linux file system and disk repair

Source: Internet
Author: User

FSCK repair damaged file system Linux is not properly shut down, and sometimes start again when the file system is reported corruption, how to repair files? First, you will be asked to enter the root user's password. 1) When the error occurs if you tell you which disk partition is a problem, such as/dev/hda3 and then use the following command to deal with it: #fsck-y/dev/hda3 after the end, reboot. That's OK! 2) If you don't know where the problem is. (This method is commonly used) can be entered directly #fsck in the subsequent confirmation dialog box: Y end, reboot. It's OK. Note: The inspection of common file systems in Linux systems is done through the fsck tool. Feature Description: Check the file system and try to fix the error. Syntax: fsck [-AANPRRSTV][-T] [File system ...] Supplemental NOTE: When the file system error four modernizations, the fsck command can be used to try to fix it. Parameter:-A automatically repairs the file system without asking any questions. -A according to the contents of the/etc/fstab configuration file, check all the file systems listed in the file. -N does not execute instructions, only the actions performed by the actual execution are listed. -p when used with the "-A" parameter, all file systems are checked at the same time. -R uses interactive mode to ask questions when performing a fix, allowing the user to confirm and decide how to handle it. -R when used with the "-A" parameter, the file system that is skipped/directory is not checked. -S executes the check job sequentially instead of concurrently. -t specifies the type of file system to check. -T displays header information when the fsck instruction is executed. -V Displays the instruction execution process. Recover deleted files: Extundelete http://zhumeng8337797.blog.163.com/blog/static/100768914201212354523149/

Linux file system and disk repair

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.