I'm running the following in a Konsole on an ext3 formatted crypt file:
linux:/ # umount -d -l /loopback/crypto
linux:/ # e2fsck /loopback/crypto
e2fsck 1.38 (30-Jun-2005)
Couldn't find ext2 superblock, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /loopback/crypto
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
linux:/ # e2fsck -b 8193 /loopback/crypto
e2fsck 1.38 (30-Jun-2005)
e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /loopback/crypto
Could this be a zero-length partition?
linux:/ # e2fsck -b 32768 /loopback/crypto
e2fsck 1.38 (30-Jun-2005)
e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /loopback/crypto
Could this be a zero-length partition?
linux:/ #
I don't know how to tweak the command so it checks the crypt file. Using the man pages is like an ingredients cabinet without a recipe book. The back pages of my Suse 10.0 manual says that e2fsck can check ext3. There must be a simple answer, but I'm in the bozone.
