mdadm --stop does not remove md devices
Issue
mdadm --stop /dev/md0does not remove md device
[root@localhost ~]# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdd1[0] sdd2[1]
499648 blocks super 1.2 [2/2] [UU]
unused devices: <none>
[root@localhost ~]# mdadm --stop /dev/md0
mdadm: stopped /dev/md0
[root@localhost ~]# cat /proc/mdstat
Personalities : [raid1]
unused devices: <none>
[root@localhost ~]# ls /dev/md*
/dev/md0
/dev/md:
md-device-map
[root@localhost ~]# ls /sys/block/md*
alignment_offset bdi capability dev discard_alignment ext_range holders inflight md power queue range removable ro size slaves stat subsystem trace uevent
[root@localhost ~]# ls -d /sys/block/md*
/sys/block/md0
- Issue does not exist in Red Hat Enterprise Linux 7.3
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
