On 5/23/2010 5:00 PM, Andreas Iannou wrote:
Is it safe or possible to do a zpool replace for multiple drives at
once? I think I have one of the troublesome WD Green drives as
replacing it has taken 39hrs and only reslivered 58Gb, I have another
two I'd like to replace but I'm wondering whether I should do that now
as the other is being resilvered or wait till (a month) till this has
finished.
Cheers,
Andre
You can replace drives up to the number of redundant drives in your
vdev, without loosing data.
Thus:
2-way mirror: 1 drive
3-way mirror: 2 drives
N-way mirror: N-1 drives
RaidZ1: 1 drive
RaidZ2: 2 drives
RaidZ3: 3 drives
If you have more than 1 vdev in a pool, then the above rule apply to
EACH vdev.
Of course, if you replace the maximum number above, you have no
protection against failure for the period it takes to rebuild/resilver
the vdev.
Also, I don't have a feel for how replacing more than 1 drives in a
RaidZ[23] affects resilver performance.
--
Erik Trimble
Java System Support
Mailstop: usca22-123
Phone: x17195
Santa Clara, CA
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss