On Fri, 17 Apr 2015, Thomas Fjellstrom wrote:
I had a 5 disk Raid5 with 3TB disks. One disk threw some errors (but still seemed to work), and i decided to replace it. I actually bought two drives,
If you have a not-ancient kernel, you should have issued the replace command. You should have added one new drive as spare, then (with a new mdadm) issued the --replace command. This would have started copying the drive you wanted replaced onto the spare. Then after all this was done, you could have added another spare and told it to re-shape to raid6. That's at least what I would have done.
http://unix.stackexchange.com/questions/74924/how-to-safely-replace-a-not-yet-failed-disk-in-a-linux-raid5-array -- Mikael Abrahamsson email: swmike@xxxxxxxxx -- 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