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.

We have a lot of drives that need to be sanitized. NIST SP 800-88 recommends software that uses the ATA Secure Erase command. That's apparently the only way to be sure that the drive is properly wiped, due to bad-block remapping and such.

I know that this functionality is available in hdparm. The problem with that approach is that it is inconsistent on multiple platforms, occasionally times out, doesn't have error-checking logic, and doesn't check the resulting drive to make sure that it has, in fact, been erased. So a proper program might use hdparm, but hdparm by itself isn't an answer.

I'm looking for open source software that implements ATA Secure Erase. Ideally it will be a bootable disk image like DBAN, but it will use the ATA command.

share|improve this question
Re: HDparm timeout. - The time out (after 2 hours) is a known problem for HDparm versions older than 9.31. A newer version should not have that problem. –  Hennes Jul 25 '12 at 12:51
Thanks. That's good to know. Unfortunately, it's still the case that hdparm by itself isn't the answer... It may be that the answer is modifying DBAN to handle hdparm, but the DBAN author hasn't responded to my email... –  vy32 Jul 26 '12 at 14:48
Luckily the source for DBAN is available. If you do manage to change that then please post it here. I would be interested in it. –  Hennes Jul 26 '12 at 15:51

2 Answers 2

up vote 2 down vote accepted

Parted Magic or MHDD (through FASTERASE option).

Also HDD LLF and HDD Wipe Tool.

share|improve this answer

hdparm can do this. You will find it installed by default on many operating systems. (e.g. on FreeBSD and GNU/Linux).

Check either man hdparm or this link.

share|improve this answer
Yes, I should have been more specific. I'll make an edit. –  vy32 Jul 25 '12 at 2:40

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.