Thanks to this guy I finally got my 1tb disk initialized to use in my raid array – it had some garbage about being attached to another raid that I couldn’t remove or overwrite, so I finally plugged it into a usb dock and into my linux laptop and used dd to wipe the first and last 200 sectors or so 😉
1\ Very helpful post.
2\ For some guys like me dmraid wont work.. In which case only option is to zero out the drive with dd. But good news is you dont have to zero out complete drive. Just zero out 1st couple and last couple of sectors. Follow commands belowdd if=/dev/zero of=/dev/sda bs=512 count=2
fdisk -s /dev/sda
dd if=/dev/zero of=/dev/sda seek=(number_of_sectors – 20) bs=1knumber_of_sectors = output of fdisk -s /dev/sda
This worked for me.. Thought I should put it out.
—
Gattu
The original link to the dmraid solution, which wouldn’t work for me for some reason…
https://kezhong.wordpress.com/2011/06/14/how-to-remove-bios-raid-metadata-from-disk-on-fedora/