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.
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