Comment 12 for bug 448316

Revision history for this message
Janne Siren (merjanne-siren) wrote :

Yes, it depends on the type of RAID array. The one which worked for me does not work for all. But I might had something for you. I have not tried this. (And again, please note this deletes the content of the drive, so do not use this in case you want to keep old installations or partitions.) This is just copy paste from:
http://frantisek.rysanek.sweb.cz/pdcraid/pdcraid.html
here it goes...

One last note: if you ever wanted to reuse a drive that once was a member in a Promise RAID, you might want to purge it clean from the remnants of the RAID setup. E.g., the MBR might be modified to save some space at the end of the drive for the RAID superblock, and there could be other Promise-proprietary hacks in the MBR too, which might confuse partitioning and formatting tools and operating systems' filesystem drivers.

Theoretically it should be enough to clean the MBR:
 dd if=/dev/zero of=/dev/your_device bs=512 count=1
But it's not a bad idea to wipe a larger block clean, which should take the first partition's boot sector with it:
 dd if=/dev/zero of=/dev/your_device bs=1k count=10000