TigerOnVaseline / ata-secure-erase Star 42 Code Issues Pull requests A bash script to securely erase ATA disks, runs the SECURITY ERASE UNIT command using hdparm. If successful, clears all SSD memory cells (should reset a drive to factory write-performance state.) hdparm ata-security-erase...
some storage areas (wear leveling), so that simply formatting an SSD will seldom delete the whole drive. Most SSDs therefore offer a function calledsecure erase, which causes the drive to empty all its storage cells. This is especially useful should you decide to give up your used SSD. ...
All SSD blocks will have been deleted, when: the SSD is in its delivery state or asecure erase or manual TRIM(depending on the specific SSD) has been performed Enabling the Host Protected Area Warning: Only enable the Host Protected Area (HPA) on SSDs that do not contain any data. Othe...
如果硬盘上的数据可以备份到别外,然后就可以用hdparm发送ATA “Secure Erase”指令去清空SSD硬盘中的数据的方法,把硬盘的写性能恢复到没有碎片时的状态。 注意: 这个操作会删除硬盘上所有的数据,而且这些数据不能被恢复。 注意:如果你不幸碰到了的操作系统内核bugs或SSD硬盘的fireware bugs,可能会硬盘不可写或操作系...