One of my disks failed in my raid array:
cat /proc/mdstat
:
Personalities : [raid1]
md1 : active raid1 sda2[2](F) sdb2[1]
488086720 blocks [2/1] [_U]
md0 : active raid1 sda1[0] sdb1[1]
192640 blocks [2/2] [UU]
When i tried to remove then re-add the drive the following happened:
mdadm: hot removed /dev/sda2
host:# mdadm /dev/md1 --add /dev/sda2
mdadm: add new device failed for /dev/sda2 as 2: Invalid argument
fdisk -l /dev/sda
returns nothing.
Can you tell me what's happening now, especially because md0
looks fine. Tried to Google it but nothing interesting come up.
Update (just for verbatim), now md0
is failed too:
Personalities : [raid1]
md1 : active raid1 sdb2[1]
488086720 blocks [2/1] [_U]
md0 : active raid1 sda1[2](F) sdb1[1]
192640 blocks [2/1] [_U]