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 tonormal,tabular,json, orbinary. Only one output format at a time, bestie β pick your fighter β--output-format-version=<version>β selects the output format version. Version1uses the original field naming, while version2(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--quietcancels any--verbosefor the library log level. shhh π€«--set-options=<key=value>[,<key=value>...]β sets libnvme library options for this invocation. The supported keys areforce-4k,mi-probe-enabled,test-base-dir, andtest-sysfs-dir. mix and match, it's giving build-your-own π§--timeout=<ms>β sets the timeout for the command in milliseconds.infiniteor-1waits 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
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms