G'day all,
I have a RAID6 of 10 2TB drives. One started to grow bad sectors at an
alarming rate, so rather than fail and replace the drive I thought I'd
use the hot replace method.
Add spare to array
echo want_replacement > /sys/block/md0/md/dev-sdm/state
Wait 6 hours
Remove failed drive
Job done.
Last time I tried this (lots of kernel versions ago) I had all sorts of
issues with removing the failed drive and other sticky stuff that
required rebooting to clean up. This "just worked".
Regards,
Brad
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html