Re: read-from-all-disks support for RAID1?

From: Eyal Lebedinsky
Date: Sun Sep 11 2005 - 04:29:38 EST


Lennert Buytenhek wrote:
> (please CC on replies)
>
> Hi!
>
> I recently had a case where one disk in a two-disk RAID1 array went
> subtly bad, effectively refusing to write to certain sectors without
> reporting an error. Basically, parts of the disk went undetectably
> read-only, causing file system corruption that wouldn't go away after
> fsck, and all kinds of other fun.
>
> Would it be hard/wise to add an option for RAID1 mode to read from all
> devices on a read, and report an error to syslog or simply return an
> I/O error if there is a mismatch? (Or use majority voting and tell
> people to use 3-disk RAID1 arrays from now on ;-)
>
>
> thanks,
> Lennert

Would a two-disk raid-5 not do just what you want?

--
Eyal Lebedinsky (eyal@xxxxxxxxxxxxxx) <http://samba.org/eyal/>
attach .zip as .dat
-
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/