sudo nvme list
Node SN Model Namespace Usage Format FW Rev
--------------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/nvme0n1 S59CNM0W423973V Samsung SSD 970 EVO Plus 2TB 1 54.58 GB / 2.00 TB 512 B + 0 B 2B2QEXM7
sudo nvme id-ctrl /dev/nvme0n1 -H | grep -E `Format |Crypto Erase|Sanitize'
sudo nvme id-ctrl /dev/nvme0n1 -H | grep -E 'Format |Crypto Erase|Sanitize'
[1:1] : 0x1 Format NVM Supported
[29:29] : 0 No-Deallocate After Sanitize bit in Sanitize command Supported
[2:2] : 0 Overwrite Sanitize Operation Not Supported
[1:1] : 0 Block Erase Sanitize Operation Not Supported
[0:0] : 0 Crypto Erase Sanitize Operation Not Supported
[2:2] : 0x1 Crypto Erase Supported as part of Secure Erase
[1:1] : 0 Crypto Erase Applies to Single Namespace(s)
[0:0] : 0x1 Format Applies to All Namespace(s)
[1:1] : 0 Controller Copy Format 1h Not Supported
[0:0] : 0 Controller Copy Format 0h Not Supported
sudo nvme list
Node SN Model Namespace Usage Format FW Rev
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/nvme0n1 S5HRNC0N202746N Samsung SSD 970 PRO 512GB 1 38.63 GB / 512.11 GB 512 B + 0 B 1B2QEXP7
sudo nvme id-ctrl /dev/nvme0n1 -H | grep -E 'Format |Crypto Erase|Sanitize'
[1:1] : 0x1 Format NVM Supported
[29:29] : 0 No-Deallocate After Sanitize bit in Sanitize command Supported
[2:2] : 0 Overwrite Sanitize Operation Not Supported
[1:1] : 0 Block Erase Sanitize Operation Not Supported
[0:0] : 0 Crypto Erase Sanitize Operation Not Supported
[2:2] : 0x1 Crypto Erase Supported as part of Secure Erase
[1:1] : 0 Crypto Erase Applies to Single Namespace(s)
[0:0] : 0x1 Format Applies to All Namespace(s)
1 Like