by Solid_Applaud · 5y ago · 0 comments
If you have nvme storage use blkdiscard to wipe it:
https://man7.org/linux/man-pages/man8/blkdiscard.8.html
Or
nvme format <device> with the --ses option, see available ses options here:
https://www.mankier.com/1/nvme-format
Otherwise use ATA Secure Erase with the suspend trick to unfreeze the drive:
Suspending and waking a PC to unlock a drive can be necessary for SATA or NVMe drives. SATA drives also give you the alternative of hot-swapping the drive, but that's not practical for consumer NVMe drives or consumer host systems.