Re: 2.2 kernel - Ext3 & Raid patches

Andreas Dilger (adilger@clusterfs.com)
Tue, 21 May 2002 19:21:33 -0600


On May 21, 2002 16:40 -0500, Jon Hedlund wrote:
> Last September Stephan told someone on the linux-kernel list that
> Ext3 and Raid 1 didn't work together on the 2.2 kernel.
> Has this been fixed or have I just been lucky?

You've just been lucky. I forget the exact scenario, but it is
something like if journal replay is happening while the RAID is being
reconstructed after a crash you can get garbage written to your disk.

> Three times in the last 9 months one of the drives reported errors
> and dropped offline, each time I have fdisked the bad drive,
> formatted it, fsck'ed it and found no problems, fdisked it again, and
> raidhotadd'ed it back in and it restored the array without problems.

This is probably a matter of block remapping replacing bad sectors when
you try to write to it.

Cheers, Andreas

--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/

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