For SATA SSD, I know that there exists an open source program named hdparm for secure erase by issuing ATA command and this tool has been embedded within linux operating system. For SAS SSD, I want to know whether there is a similar tool that can be used for secure erase for all kinds of SAS SSD. Thank you in advance.


It varies by vendor, but mostly the sg_format tool (as found in the sg3_utils package) will suffice.

Sandisk states in their support system:

All SanDisk Lightning SSDs are SAS and support the SCSI format unit command which will securely erase all user data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.