
Whilst drives directly attached to a straight-forward SATA controller should work reliably, some "intelligent" interfaces such as USB or firewire to PATA/SATA bridges, SAS controllers or hardware RAID controllers may try to reset devices which they have decided are no longer responding. When a Secure Erase is issued against a SSD drive all its cells will be marked as empty, restoring it to factory default write performance.ĭISCLAIMER: This will erase all your data, and will not be recoverable by even data recovery services.ĭISCLAIMER: If you hit kernel or firmware bugs (which are plenty with not widely-tested features such as ATA Secure Erase) this procedure might render the drive unusable or crash the computer it's running on.ĭISCLAIMER: The security-erase command is a single command which typically takes minutes or hours to complete, whereas most ATA commands take milliseconds, or seconds to complete.


This procedure describes how to use the hdparm command to issue a Secure Erase ATA instruction to a target storage device.
