Am 06.12.2011 19:28, schrieb m.roth@5-cent.us:
We're just using Linux software RAID for the first time - RAID1, and the other day, a drive failed. We have a clone machine to play with, so it's not that critical, but....
I partitioned a replacement drive. On the clone, I marked the RAID partitions on /dev/sda failed, and remove, and pulled the drive.
dd if=/dev/sdx of=/dev/sdy bs=512 count=1 reboot
tp close the whole MBR and partition-table
several iterations, I waited a minute or two, until all messages had stopped, and there was only /dev/sdb*, and then put the new one in... and it appears as /dev/sdc.
the device name is totally uninteresting, the IDs are mdadm /dev/mdx --add /dev/sdex