Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Secure Erase

Direct answer

Secure erase permanently destroys data on a drive at end of life, using the drive's sanitize or crypto erase command (nvme format -s, hdparm secure erase) or physical destruction, since deleting files is not enough.

When to use this

Use this when disposing of drives so data cannot be recovered.

First 30 seconds

1. Secure erase destroys data before reuse or disposal.

2. SSDs: use crypto erase/secure erase, not overwrite.

3. HDDs: overwrite or degauss/shred.

4. Document with certificates.

5. Follow NIST 800-88.

Operational verification

media end of life → sanitise → verify → dispose

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Data protection and recovery
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformData protection and recovery
Scope / prerequisiteUse this when disposing of drives so data cannot be recovered.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verifying erasure Verify boundary
  • Record the method, device serial number, date and operator.
  • For drives leaving the organisation, get a certificate of sanitisation (vendor or tool).
  • Sample-check erased drives (read the first and random sectors).
  • For SEDs, verify crypto erase completed using the vendor tool or nvme sanitize-log.
Step 2 Common mistakes Narrow the fault
  • Using overwrite tools on SSDs (use the drive's sanitize/secure-erase or crypto-erase).
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Deleting files is not erasing.
  • Use sanitize or crypto erase commands.
  • Physically destroy when required.
Key checks
  • nvme format /dev/nvme0n1 --ses=1 — NVMe secure erase (user data)
  • hdparm --security-erase / blkdiscard -s — ATA/discard secure
  • sedutil-cli --revertTPer — SED crypto erase
ReferenceHow it works1 section · depth on demand

Methods per media (NIST SP 800-88)

MediaClearPurge
HDDOverwrite onceDegauss or ATA Secure Erase
SATA SSD—ATA Sanitize (block erase / crypto erase)
NVMe—nvme format --ses=2 or nvme sanitize (crypto)
Encrypted volume—Destroy the key
Any—Physical destruction (shred) when required

Record serial numbers and get certificates of destruction from vendors.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Secure erase sanitises media before reuse or disposal. NIST SP 800-88 defines Clear (overwrite, protects against simple recovery), Purge (protects against lab recovery: crypto erase, block erase) and Destroy (shred, degauss, incinerate).

MediaPurge method
HDDATA/SCSI sanitize overwrite, or degauss
SATA SSDATA SECURITY ERASE / SANITIZE BLOCK ERASE, crypto erase on SEDs
NVMenvme format --ses=2 (crypto) or nvme sanitize --sanact=2
Self-encrypting driveRevert/crypto erase (destroys the media key)
nvme sanitize /dev/nvme0 --sanact=2; nvme sanitize-log /dev/nvme0
hdparm --user-master u --security-set-pass p /dev/sdX; hdparm --security-erase p /dev/sdX

Overwriting an SSD with dd is not reliable — spare and remapped blocks keep old data. Record serial number, method and result as evidence.

ReferenceConfiguration & state1 section · depth on demand

Commands

nvme format /dev/nvme0n1 --ses=1          # user data erase (ses=2: crypto erase)
nvme sanitize /dev/nvme0n1 --sanact=2     # block erase sanitize
hdparm --user-master u --security-set-pass p /dev/sdb ; hdparm --user-master u --security-erase p /dev/sdb
blkdiscard /dev/sdb                       # TRIM all (not a verified erase)

Documented example, not captured output. These commands destroy all data — double-check the device.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docData protection and recovery current

Authoritative/upstream documentation reviewed for bounded claims in Data Protection → Secure Erase. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/sp/800/209/final · confidence 94%
Confirmation

Confirm action

Continue?