====== Perform a Secure Erase of an SSD ====== **Secure Erase**: https://www.thomas-krenn.com/en/wiki/SSD_Secure_Erase **Over-Provisioning**: https://www.thomas-krenn.com/en/wiki/SSD_Over-provisioning_using_hdparm **Advanced info**: https://techgage.com/article/securely-erasing-your-ssd-with-linux-a-how-to/ **More**: https://grok.lsu.edu/Article.aspx?articleid=16716 Do not zero-fill an SSD. Do not erase an SSD like you would a hard drive. ===== hdparm ===== :!: You can use SystemRescueCD or other bootable gparted live system. hdparm --security-erase NULL /dev/xxx More info: hdparm -I /dev/sdX #Displays all information about a drive hdparm -I /dev/sdX | grep Model #Displays the drive brand and model hdparm -I /dev/sdX | grep frozen #Displays whether drive is frozen (“not” is required) hdparm --security-erase PASS /dev/sdX #Simple command to secure erase a drive with no hassle