Removing RAID1 completely with Mdadm

RAID device –> /dev/md1 –> Created of 2 Disks /dev/sda & /dev/sdb

mdadm –detail /dev/md1 –> This will give detail information on /dev/md1

cat /proc/mdstat  –> This will give information of md device

mdadm –stop /dev/md1  –> This will stop md1 device

mdadm –zero-superblock /dev/sda
mdadm –zero-superblock /dev/sdb

Also Remove entry of /dev/md1 from /etc/mdadm.conf and restart mdadm

Neelesh Gurjar has written 122 articles

Leave a Reply