I have a SW RAID 1 with 3 partitions and one of them seem not to be able to re-sync after a HDD failure/replacement.
Here's some info:
more /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid1 sdb3 sda3 2862630207 blocks super 1.2 [2/2] [UU] md1 : active raid1 sdb2 sda2 524276 blocks super 1.2 [2/2] [UU] md0 : active raid1 sda1(F) sdb1 67107768 blocks super 1.2 [2/1] [_U] unused devices: <none>
I tried to set as faulty /dev/sda1 and then remove it but I get an error, please see below:
# mdadm --manage --set-faulty /dev/md0 /dev/sda1 mdadm: set /dev/sda1 faulty in /dev/md0 # mdadm --manage --remove /dev/md0 /dev/sda1 mdadm: hot remove failed for /dev/sda1: Device or resource busy
Do you have any suggestions on what else I may try?