Re: corrupted ext4 1000gb filesystem (2.6.32, debian stable)

From: Luke Kenneth Casson Leighton
Date: Tue Aug 02 2011 - 10:54:33 EST


On Tue, Aug 2, 2011 at 3:27 PM, Ted Ts'o <tytso@xxxxxxx> wrote:

> *However*, if you have a RAID1 setup where the data on the disks are
> consistent, this can be the cause of much mischief. ÂDepending on
> which disk you read from the mirror, you might get different results.
> Once that's the case, all bets with e2fsck are off.

ok - that would explain why the problem has appeared to go away when
i reduced the RAID1 to a single drive. i'm presently waiting for the
two 1.5Tb drives to sync up (estimated another 24 hrs)

> Finally, I strongly recommend that when you are doing this kind of
> repair work, that you save a copy of everything you do useing a
> program like "script". ÂA transcript of the e2fsck output can be
> critally useful. ÂReviewing the transcript can also be useful in
> identifying mistakes that you might have made during the recovery
> process.

ok i'll bear that in mind.

> Regards,
>
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â- Ted
>
> P.S. ÂNote that if you are running e2fsck, and you haven't mounted
> the disk yet, if you are seeing failures after a second run of e2fsck,
> then it obviously can be a failing in the ext4 kernel code.

ok, thank you ted. based on that, i'll keep doing reports (and make
sure i use typescript).

l.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/