[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SATA hotplug + mdadm raid

On 05/18/2017 12:30 PM, Dan Ritter wrote:

It doesn't matter that much. Use this:

mdadm --fail /dev/md0 /dev/sda1
mdadm --remove /dev/md0 /dev/sda1
mdadm --add /dev/md0 /dev/whatever1

then check on progress with cat /proc/mdstat


Ok, I just went ahead and yanked the drive and stuck the other one in. It actually came up as sda, probably because I had previously used dd to copy the first 1G onto it from the old drive. I partitioned it and added it to the array, all is well now.


Samuel Smith

Reply to: