From 58277d7d5638874baacb7c3a986393f3a1e0a33c Mon Sep 17 00:00:00 2001 From: Daniel Gray Date: Tue, 24 Jan 2023 06:17:18 +0000 Subject: [PATCH] Mention nvme-cli (#14) --- docs/posts/secure-data-erasure.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/posts/secure-data-erasure.md b/docs/posts/secure-data-erasure.md index 3c480de..a2fc913 100644 --- a/docs/posts/secure-data-erasure.md +++ b/docs/posts/secure-data-erasure.md @@ -36,7 +36,11 @@ Once you have your boot media, enter your system's UEFI settings and boot from t ### Flash Storage -For [flash memory](https://en.wikipedia.org/wiki/Flash_memory) (SSD, NVMe, etc) devices we suggest the ATA Secure Erase command. Methods such as `nwipe` should not be used on flash storage devices as it may damage their performance. The "Secure Erase" feature is often accessible through the UEFI setup menu. +For [flash memory](https://en.wikipedia.org/wiki/Flash_memory) (SSD, NVMe, etc) devices we suggest the ATA Secure Erase command. Methods such as `nwipe` should not be used on flash storage devices as it may damage their performance. The "Secure Erase" feature is often accessible through the UEFI setup menu. NVMe storage can be erased using the [`nvme-cli`](https://github.com/linux-nvme/nvme-cli) tools. For that see: + +```text +nvme format /dev/nvme0 -s 2 -n 1 +``` It is also possible to complete a Secure Erase using the [`hdparm`](https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase) command, or [Microsoft Secure Group Commands](https://docs.microsoft.com/en-us/windows-hardware/drivers/storage/security-group-commands).