#81 Add ATA Secure Erase option

open
nobody
None
5
2015-01-26
2011-10-06
Andreas Weller
No

All newer HDs should support the ATA secure erase or even enhanced secure erase command. This will force the HD's firmware to write some random(?) patterns to the disk. AFAIK this is the only way to overwrite reallocated sectors.
HDPARM could be used to issue the necessary commands to the HD controller.
I suggest the following chain: use usual dban tools to overwrite disk then invoke smartctl to find out whether there are reallocated sectors. Depending on the result suggest the user to run HD's secure erase feature.
Thank you!

Regards,
Andreas Weller

Discussion


  • Anonymous
    2012-05-17

    I also request that Secure Erase and Enhanced Secure Erase be added as a wipe option. It would greatly contribute to the usefulness of DBAN and make it easy for users with little to no knowledge of linux to make use of the ATA Secure Erase Methods.

    with HDPARM being open source and having done the bulk of the coding it should hopefully be easy to add this feature to DBAN

     
    Last edit: Anonymous 2014-03-14