Securing a single HDD from a retired RAID 5 array

hard drive

I want to sell two hard drives. Both have been used in a software RAID5 with a logical volume manager.

I want to delete all data in order to sell them. But on the devices are no partitions.

Is it necessary to clean the drives? Are there any data saved on the drives? And if so, what is the action I need to take to delete all data from the drives?

Best Answer

The data would be relatively safe from being recovered given a couple of things. The RAID5 set was more than 3 drives and the drives are not going to be sold to the same person/company. But even then a close look at the drive's data could contain strings etc.

If the drives are going to one person/company then it's possible to force the RAID back together in a degraded state. From there you can recover the LVM metadata and reconstruct the logical volumes.

So I'd do a quick wipe using dd and call it a day. Using dd if=/dev/zero of=/dev/sdb bs=1M is probably the fastest way and is a good enough wipe to make whatever is on the drives now unrecoverable. Just make sure you change the of= device to be the appropriate drives.

If you're really paranoid you can use a better wiping tool but it's not really necessary unless there are some regulations on the data that you were storing.

Related Topic