E2fsck

From Wsms

Jump to: navigation, search

Note: This page should be titled e2fsck (all lowercase). It is E2fsck due to technical limitations of Mediawiki.

e2fsck checks and repairs the integrity of ext2 and ext3 filesystems.

Common Usage

Check the first partition on the second SATA drive:

[ggeller@garfield ~]$ e2fsck /dev/sdb1

Repair the third partition on the second (simulated) SCSI drive:

root@mint:~# e2fsck -f -y -v /dev/sdb3
-f Force checking even if the file system seems clean.
-y Assume an answer of ‘yes’ to all questions; allows e2fsck to be used non-interactively.
-v Verbose mode.

see also

man e2fsck
man fsck
Chkdsk

Personal tools