Linux Command Encyclopedia disk maintenance: fsck

Source: Internet
Author: User
Keywords Linux command encyclopedia disk maintenance
Tags aliyun check command encyclopedia disk disk maintenance error file function

Function Description: Check the file system and try to fix the error.

Grammar: fsck&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-aanprrstv] [-T < file system Type] [File System ...]

Supplemental Note: When the file system has an error four, you can try to fix it with the FSCK directive.

Parameters:
-A automatically fixes the file system without asking for any questions.
-A checks all file systems listed in the file according to the contents of the Fstab configuration file.
-N does not execute instructions, listing only the actions that are actually performed.
-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 repairs, allowing users to confirm and decide how to handle them.
-R when used with the "-A" parameter, the file system of the/directory is skipped.
-S performs the check job sequentially, not concurrently.
-t< File System type > Specifies the type of file system to check.
-T displays header information when executing the FSCK directive.
-V Displays the instruction execution process.

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.