Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


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
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 – Moab Nov 21 '11 at 16:37

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


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.