NVME-SED-REVERT(1)

πŸ’… nvme-sed-revert(1) β€” the NVMe Manual, bestie edition πŸŽ€

okay so real quick, this page lives in the NVMe Manual and it's called nvme-sed-revert. Buckle up, it's short but it's powerful ✨


🌸 NAME 🌸

nvme-sed-revert β€” revert a SED Opal device from its locking state. That's it, that's the whole vibe. Your drive was locked, now it's not πŸ”“


πŸ¦‹ SYNOPSIS πŸ¦‹

nvme [<global-options>] sed revert
                        [ --destructive, -e ]
                        [ --psid, -p ]
                        <device>

πŸ’– DESCRIPTION πŸ’–

You hand it an NVMe device and it reverts that device out of its locking state. Lowkey simple, highkey powerful β€” read the options before you go pressing buttons, fr fr 😭


✨ OPTIONS ✨

  • -e, --destructive β€” reverts the drive destructively, meaning the data gets erased πŸ’€ like gone gone. No cap, this one eats your data.
  • -p, --psid β€” destructively reverts the drive using its PSID. Still destructive, still erasing, just riding in on the PSID instead 🫢

πŸ‘‘ GLOBAL OPTIONS πŸ‘‘

These bad boys are defined up at the top-level nvme command, and they're available to this subcommand too β€” so you can absolutely use them here πŸ’…

  • --dry-run β€” prints the command that would be executed, but does not actually execute it. Main character energy: all talk, no chaos πŸ™ˆ
  • --no-ioctl-probing β€” disables probing for 64-bit IOCTL support.
  • --no-retries β€” disables retry logic on transient errors.
  • -o <fmt>, --output-format=<fmt> β€” sets the reporting format to normal, tabular, json, or binary. Only one output format at a time, bestie β€” pick your fighter ⭐
  • --output-format-version=<version> β€” selects the output format version. Version 1 uses the original field naming, while version 2 (the default) gives you more consistent and script-friendly field names. Any other version gets rejected. periodt 🚫
  • --quiet β€” suppresses informational messages. Errors still get reported, and --quiet cancels any --verbose for the library log level. shhh 🀫
  • --set-options=<key=value>[,<key=value>...] β€” sets libnvme library options for this invocation. The supported keys are force-4k, mi-probe-enabled, test-base-dir, and test-sysfs-dir. mix and match, it's giving build-your-own 🧚
  • --timeout=<ms> β€” sets the timeout for the command in milliseconds. infinite or -1 waits without a time limit (0xffffffff). literally forever, no rush πŸ•°οΈ
  • -v, --verbose β€” increases the level of detail in the output. You can specify it multiple times to further increase verbosity. more v's, more tea β˜•
Also! These options can be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file 🌈 so no fighting, the flag wins.

πŸ“ EXAMPLES πŸ“

nvme sed revert /dev/nvme5n1

πŸ’œ NVME πŸ’œ

Part of nvme-cli. iykyk 😌


and that's the whole page, bestie! this one's from the NVMe crew, dated 10/30/2026 β€” go forth and revert responsibly, and maybe run --dry-run first yeah? πŸŽ€πŸ”₯πŸ¦‹

πŸ“¦ where this page comes from