Re: software RAID

From: Matthias Andree
Date: Fri May 20 2005 - 22:32:16 EST


On Sat, 21 May 2005, Neil Brown wrote:

> On Friday May 20, amiller@xxxxxxxxxxxxxxxxxxxx wrote:
> > Hi,
> > We're looking to set up either software RAID 1 or RAID 10 using 2 SATA
> > disks. If a disk in drive A has a bad sector, can it be setup so that the
> > array will read the sector from drive B and then have it rewrite the
> > bad sector on drive A? Please CC me in the response.
>
> Not yet, but it is this functionality is very near the top of my TODO
> list for md.

Speaking of consistency, what is md's support for barriers like? Is it
safe to use write caches on the drives? (RAID1 assumed)

What if I'm using different drive models with different cache sizes
(isn't as unreasonable as it sounds as different drives may have
different margins WRT environmental influences), how does md figure what
is missing from one drive?

Is there anything short of break mirror and rebuild to guarantee
consistency until next reboot?

Documentation/md.txt is a bit lacking in these respects.

--
Matthias Andree
-
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/