Assumption: /dev/sdb has problem and need to replace it with a new drive. sdb has two partitions on raid-1 namely /dev/sdb1 = /boot and /dev/sdb3 = / . 1. cat /proc/mdstat to see the raid information. 2. Use mdadm to fail the drives partition(s) and remove it from the Replacing failed raid 1 drive 30 June 2009 backup
Assumption: Assume to have only one drive with several raid one partitions. Steps: 1. Make sure to boot from some usb live OS (i.e. CentOS Live OS 5.2 under USB) 2. Use mdadm –remove to remove ALL raid one partitions (i.e., mdadm /dev/md0 –remove Uninstall software raid one for linux drive with data intact 29 June 2009 mdadm