Raid 11 : how to stop @ how to release devices
Posted
by
santhosha
on Server Fault
See other posts from Server Fault
or by santhosha
Published on 2011-02-21T05:30:56Z
Indexed on
2011/02/21
7:26 UTC
Read the original article
Hit count: 489
software-raid
#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]
© Server Fault or respective owner