Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

When people ask on how to wipe a drive, it almost seems as if the default answer is DBAN and I am not really sure why. Especially when doing commands like

dd if=/dev/zero of=/dev/sda
dd if=/dev/urandom of=/dev/sda
dcfldd pattern="00" of=/dev/sda
dcfldd pattern="FF" of=/dev/sda
shred /dev/sda
wipe /dev/sda
cat /dev/sda | cat > /dev/sda

All of these will do the exact same thing and using a tool like hdparm to execute a secure-erase command will be much better than all of the above. Given that it will also erase those blocks on the glist,

So what makes Dban so good and so recommended. Is there a technical reason why it is recommended? To me it seems like a waste of bandwidth and a blank cd.

share|improve this question
up vote 7 down vote accepted

The technical reason is it's much more straightforward. When trying to erase data, the last thing you want to do is make a mistake, which is far more likely with a series of commands than running a single program. You might target the wrong drive, or get distracted halfway through, or not perform the steps in the best order. With DBAN, you know for sure that all the drives connected to the machine will be securely erased.

share|improve this answer
Who are these auditors? DBAN is not certified to conform with any of the various data destruction standards. NIST recommends using secure erase for SATA drives. – duffbeer703 Jan 15 '10 at 3:28
you commented on the wrong answer – JamesRyan Jan 15 '10 at 11:05

I think mostly because dban actually gives you a GUI and progress bar. DD works, but for some people it could be nerve-wrecking to just type and not see anything happens, until it does. Technically speaking, I think dban has enough features to wipe a drive safely.

share|improve this answer
Besides, not everyone who wipes disks is a Linux person, so dd may not even be available to them. – John Gardeniers Jan 15 '10 at 9:02

I use it for all the reasons already stated, but I have one BIG additional one. My auditors KNOW what it is and have approved it for fulfilling the secure disposal requirement. Being able to say "We use DBAN" and the auditor going "Ok, lets move on" is worlds better than "I use this custom script" which would trigger, ok let me see it work, Explain each of these commands, wipe a disk and give to me to audit. That's 30 seconds compared to what could be hours and still the possibility of it not getting their ok.

share|improve this answer

I use DBAN for a simple reason. I tell it what to do and walk away. I don't have to keep coming back to check if command xyz completed and run the next one. Not to mention it will work on multiple disks at simultaneously. Sure I could script it, but why reinvent the wheel.

share|improve this answer

Quite simply, it works, works very well and is dead easy to use. No fiddling, no trying to remember commands or what the name of the script is or standing around while it does it's thing. Just boot from the CD, regardless of what OS is on the machine, or even if it doesn't have an OS, and run it. Answer a couple of questions and hit the go button.

share|improve this answer
Though it only works on a small number of disks. I have about 15 hard drives in my home, all newer sata drives and it works with none. I sent in a bug report and was told to buy the EBAN. – Recursion Jan 15 '10 at 16:32
I don't know about EBAN (a typo perhaps?) but DBAN is free. – John Gardeniers Jan 15 '10 at 21:51

No idea. Most SATA disks have the ability to self-erase via the "secure erase" instruction. You just need a utility to invoke the command.

See the Center for Magnetic Recording Research page for more info.

share|improve this answer
Some BIOSes block this command so it can't easily be used: – TRS-80 Mar 23 '10 at 7:21

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.