I recently had a drive in my Linux software RAID 5 array begin to die. When I went to install the replacement, I could not find any straightforward instructions on how to put the new drive in the array, so I thought I’d toss what I did here in case others find it useful.
My machine is running Fedora Core 6 using mdadm with a RAID 5 array (so one disk in the array can die without data loss). For these directions, lets say the RAID array is /dev/md0, the bad disk is /dev/sdc, and the RAID partition on the bad disk was /dev/sdc1.
(more…)