On Mon, 29 Mar 1999, Harald Hoyer wrote:
> I made a small kernel and raidtools patch to mark a specific device as dirty
> (failure).
>
> Suppose you have as a /etc/raidtab
> raiddev /dev/md4
> chunk-size 128
> raid-level 1
> nr-raid-disks 2
> nr-spare-disks 1
> device /dev/loop1
> raid-disk 0
> device /dev/loop2
> raid-disk 1
> device /dev/loop3
> spare-disk 0
I haven't had occasion to try a RAID 1 of more than 2 disks, but I assume
that it can handle n-way mirroring.
That should give you better protection, as the third disk would already be
mirroring (as opposed to a hot spare), and then you could add back the
"failed" disk as a raid-disk after you're finished with it.
-Andy
Global Auctions
http://www.globalauctions.com