Thus spake Mike Perry (mikepery@fscked.org): > Well, this is probably a FAQ, but I've really looked around.. > Does anyone have any experience with using raidreconf for RAID1, or have > a way to hotadd a disk and have it become active, instead of being a > spare? Ok, in my impatience I grew some balls.. As it turns out, the RAID1 superblock is (seemingly?) independent of the contents of the volume. So I was able to simply mkraid --force /dev/md0, this time WITH a failed-disk directive. Once this was done, I was able to mount /dev/md0 right away, no reformatting or anything needed. Then I hot-added the failed-disk, and it seems to be synching properly. And also this time the failed-disk wasn't mirrored to immediately either (ie without the explicit hotadd).. I wonder why that happened the last time I did this.. Maybe I just miswrote the raidtab on that occasion.. Or possibly the partition type was raid autodetect and after the reboot the md driver saw this and decided to start mirroring, regardless of raidtab? Anyways, sorry for the spam, but I imagine at least one other poor sap out there will find this useful ;) P.S. I also looked at the src for raidreconf.. it in fact only supports raid0 and 5, and seems to be nice enough to refuse to do anything if you have a different raid level. So they got that going for them, which is nice. -- Mike Perry Mad Computer Scientist fscked.org evil labs - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html