[CentOS] removing a md/software raid device

Thu Mar 4 14:11:27 UTC 2010
Bazy <bazy84 at gmail.com>

Hello folks,

I successfully stopped the software RAID. How can I delete the ones
found on scan? I also see them in dmesg.

[root at extragreen ~]# mdadm --stop --scan ; echo $?
0


[root at extragreen ~]# mdadm --examine --scan
ARRAY /dev/md0 level=raid5 num-devices=4
UUID=89af91cb:802eef21:b2220242:b05806b5
ARRAY /dev/md0 level=raid6 num-devices=4
UUID=3ecf5270:339a89cf:aeb092ab:4c95c5c3

[root at extragreen ~]# mdadm --detail /dev/md0
mdadm: md device /dev/md0 does not appear to be active.

[root at extragreen ~]# mdadm --detail /dev/md1
mdadm: cannot open /dev/md1: No such file or directory


Thanks,
Bazy