damaged partition

Bodo Thiesen bothie at gmx.de
Fri Sep 16 15:41:36 UTC 2011


* Markus Feldmann <feldmann_markus at gmx.de> hat geschrieben:

> <fsck /dev/sda7>
>      fsck from util-linux-ng 2.17.2
>      e2fsck 1.41.12 (17-May-2010)
>      /dev/sda7: clean, 232529/1186688 files, 2143683/2371587 blocks

Hallo Markus

# e2fsck $dev

First tests, wether the file system state is »clean« and if, wether the
maximal mount count or maximal mount time has reched. It tests the file
system only, if it's state is not »clean« (on an ext2 with journal this
is usually never the case, because after journal replay the file system
will be clean) or any of the bothe maximal values has reached.

So, to test a file system which is marked clean, you have to force it:

# e2fsck -f $dev

BTW: And if you want some progress bar, add a -C 0:

# e2fsck -f -C 0 $dev

That's the command I usually run.

> <mount -t ext2 -o ro /dev/sda7 /mnt/sda7>
> mount: Stale NFS file handle

What's »dmesg | tail -n 20« saying immediatelly after running that command?

What's the result of »grep sda7 /proc/mounts«?
What's the result of »grep sda7 /etc/mtab«?

Liebe Grüße

Bodo




More information about the Ext3-users mailing list