Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Given

dd if=/dev/zero of=/dev/sda

provides sufficient wiping for our purposes, what is the fastest way to "zero" the drive? I have heard of this "Secure Erase" feature that is built in to hard drives but disabled by the bios. Will it be the fastest way or is there another?

share|improve this question
1  
one pass wipe like zero fill is the fastest, secure wipe just means more passes which is much longer process. No one has ever recovered data after a one pass overwrite, so in a sense this is as secure as it gets, more passes is just paranoia....nber.org/sys-admin/overwritten-data-guttman.html –  Moab Nov 21 '11 at 16:37

1 Answer 1

I assume, that hdparm's functionality does what you are referring to as "secure erase":

hdparm --security-erase NULL /dev/sdX

Never actually tried this (so no idea how it scales), tempted to do now though. Hopefully, someone more in the know will comment.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.