Pcornel
Storage · Data Protection

Secure Erase

Cheat sheet · https://pcornel.dk/topic.php?topic=4294

Back to the Topic

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.

Remember

  • Deleting files is not erasing.
  • Use sanitize or crypto erase commands.
  • Physically destroy when required.

First 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

Verify in this order

media end of life → sanitise → verify → dispose

Where it usually breaks

First mismatch in source consistency → capture/journal → transport → repository/replica → catalog/checkpoint → restore/failover read-back; preserve identity/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4294

Confirmation

Confirm action

Continue?