SSD Secure Erase

24 March 2021

SSD Secure Erase

by

Before secure release, it must not be frozen. Can use the following command to keep track of status of drive.

hdparam -I /dev/drive

Look for frozen in output:

Security: 
       Master password revision code = 65534
               supported
       not     enabled
       not     locked
               frozen
       not     expired: security count

If still frozen, attempt hybernation/reset

echo -n mem > /sys/power/state

Set password

Need to set password first

hdparm --user-master u --security-set-pass password /dev/drive

Securely Erase Data

Use password to do secure erase

hdparm --user-master u --security-erase password /dev/drive

Link to original info: SSD_Secure_Erase

tags: