botched RAID, now e2fsck or what?

Christian Kujau lists at nerdbynature.de
Wed Dec 9 03:43:59 UTC 2009


On Tue, 8 Dec 2009 at 11:48, Lucian Șandor wrote:
> Now, after creating the array and mounting it with
> mount -t ext3 -n -r /dev/md2 /media/olddepot
> I issue an:
> e2fsck -n -f /media/olddepot

Huh? Normally you'd want to run fsck agains the blockdevice:

$ umount /media/olddepot
$ fsck.ext3 -nvf /dev/md2

If this still does not succeed, you could try specifying a different 
superblock (-b). But the important thing will be to get your raid in the 
right order, otherwise fsck could do more harm than helping.

Christian.
-- 
BOFH excuse #25:

Decreasing electron flux




More information about the Ext3-users mailing list