User Tools

Site Tools


computing:storage:raid_metadata_removal

This is an old revision of the document!


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

  1. Configure the SATA in the host BIOS to RAID mode
  2. Enter the RAID configuration (Control-I)
  3. Delete the RAID volumes
  4. If the RAID configuration (metadata) is 'messed up'
    1. Recreate a RAID volume
    2. Reboot and go back into the RAID configuration (Control-I) again
    3. Delete the RAID volume just created
    4. Reboot again

Linux Software RAID

Where x is the drive you want to remove the RAID metadata from:

mdadm --zero-superblock /dev/sdx

Then verify:

dmraid -r
computing/storage/raid_metadata_removal.1496858322.txt.gz · Last modified: 2017/06/07 11:58 by gcooper