How to remove RAID devices from Linux
How to remove RAID devices from Linux.
1. In-order to remove a RAID device, First stop the umount the FS.
umount /storage
2. Then stop the RAID.
mdadm --stop /dev/md0
3. Once RAID deactivated or stopped, remove it now.
mdadm --remove /dev/md0
4. Now Check.
cat /proc/mdstat
5. Now zero super blocks on all devices that are associated with the RAID.
mdadm --zero-superblock /dev/sdb /dev/sdc
You are all done . Cheers.
No comments