====== RAID Metadata Removal ====== http://serverfault.com/questions/488346/removing-raid-metadata-from-drives http://www.server-world.info/en/note?os=CentOS_6&p=raid_metadata If you are **reusing disk drives that were once members of a RAID array**, you should **remove the RAID metadata** from the disk drives first. Leaving RAID metadata on drives can cause serious and varied problems when you go to reuse the drives for another purpose. ===== Intel (Integrated) RAID ===== - Configure the SATA in the host BIOS to RAID mode - Enter the RAID configuration (Control-I) - Delete the RAID volumes - If the RAID configuration (metadata) is 'messed up' - Recreate a RAID volume - Reboot and go back into the RAID configuration (Control-I) again - Delete the RAID volume just created - Reboot again ===== Linux Software RAID ===== Where ''x'' is the drive you want to remove the RAID metadata from: mdadm --zero-superblock /dev/sdx or: dmraid -r -E /dev/sdx or: dd if=/dev/zero of=$YOUR_DEV bs=512 seek=$(( $(blockdev --getsz $YOUR_DEV) - 1024 )) count=1024 Then verify: :!: You may need to **reboot**! dmraid -r or mdadm --detail --scan --verbose