Hi All,
I am having a issue with replacing a failed disk and adding this into the running array.
The server is currently setup with software RAID 1.
The disc has been replaced however attempts to add this device back into the array have been unsuccessfully.
I have used sgdisk to rebuild the partitions (sdb1, sdb2, sdb3). However when I add sdb3 back into the array using this following command:
mdadm --manage /dev/md1 --add /dev/sdb3
mdadm: add new device failed for /dev/sdb3 as 3: Invalid argument
I receive the above error.
Here is my command history:
sgdisk -R /dev/sdb /dev/sda
sgdisk -G /dev/sdb
sgdisk -p /dev/sda
sgdisk -p /dev/sdb
mdadm --manage /dev/md0 --add /dev/sdb1
mdadm: added /dev/sdb1
mdadm --manage /dev/md1 --add /dev/sdb3
mdadm: add new device failed for /dev/sdb3 as 3: Invalid argument
Could anyone share any light on the issue ?
Replacing a failed 3TB disk into RAID 1
Re: Replacing a failed 3TB disk into RAID 1
what are your partitions like?
what does cat /proc/mdstat say?
maybe you forgot to remove the failed disk(s) from the array?
what does cat /proc/mdstat say?
maybe you forgot to remove the failed disk(s) from the array?