Linux correction system error command fsck and Badblocks

Source: Internet
Author: User

fsck [-T file system][-acay] Appliance name

-t specifies the file system

-A-scan required devices

-A automatic repair check to problematic sectors

-Y is similar to-a

-C During the inspection process, show the progress

**********************************************************

Ext2/ext3 Additional Options Features:

-F Mandatory Check

-D optimized configuration for directories under the file system

**********************************************************

[Email protected] ~]# fsck-c-f-t ext3/dev/sda1

Fsck 1.39 (29-may-2006)

E2fsck 1.39 (29-may-2006)

/DEV/SDA1 is mounted.

WARNING!!! Running e2fsck on a mounted filesystem may cause

SEVERE filesystem damage.

Do you really want to continue (y/n)?

**********************************************************


Badblocks-[SVW] Appliance Name

-S list Progress

-V See progress

-W test using write mode, it is recommended not to use this parameter

[Email protected] ~]# badblocks-sv/dev/sda1

Checking blocks 0 to 104391

Checking for Bad blocks (read-only test): Done

Pass completed, 0 bad blocks found.




This article is from the Linux Operations sharing blog, so be sure to keep this source http://liangey.blog.51cto.com/9097868/1572207

Linux correction system error command fsck and Badblocks

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.