Raid 11 : how to stop @ how to release devices
- by santhosha
#cat /proc/mdstat
md7 : active raid10 sdh1[2]
286743936 blocks 64K chunks 2 near-copies [4/1] [__U_] [0:0:3:0]
#mdadm -f /dev/md7 /dev/sdh1
mdadm: set /dev/sdh1 faulty in /dev/md7
#mdadm -r /dev/md7 /dev/sdh1
mdadm: hot remove failed for /dev/sdh1: Device or resource busy
# umount /dev/md7
umount: /dev/md7: not mounted
#mdadm --stop /dev/md7
mdadm: fail to stop array /dev/md7: Device or resource busy
#cat /proc/mdstat
md7 : active raid10 sdh1[2]
286743936 blocks 64K chunks 2 near-copies [4/1] [__U_] [0:0:3:0]