I have two RAID5 arrays, 1 array for /boot
and for /
. The arrays both consist of three partitions:
MD0: /boot
MD1: /
My problem is, if I detached a disk (disappear) then mdadm prints that a drive went wrong. Okay no problem, but this message only from MD1. And the MD0 doesn't say anything. Look this:
md1 : active raid5 sda2[3](F) sdb2[2] sdc2[1]
7383040 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/2] [_UU]
md0 : active raid5 sda1[3] sdb1[2] sdc1[1]
995328 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
The sda drive disappeared but only in MD1 array. I can detached the drive from MD1 with the following command: mdadm /dev/md1 -r detached. Because the drive not existing.
But I can't detached from MD0:
mdadm: hot remove failed for 8:1: Device or resource busy
Because, the mdadm didn't say the sda drive went wrong. But why?