NVME-SANITIZE-LOG(1)

🩺 NVME-SANITIZE-LOG(1) β€” bestie's guide to the deprecated sanitize-log command πŸ’…

okay so this is a page from the NVMe Manual, and honestly? it's the vibes of a hand-me-down hoodie β€” still comfy, still works, but like... there's a newer one you should probably be wearing. let's get into it πŸŽ€


✨ NAME ✨

nvme-sanitize-log β€” send the NVMe sanitize-log Command, get the result back. and yes, it's deprecated (I know, I know, breathe 🫢).


πŸ¦‹ SYNOPSIS πŸ¦‹

nvme [<global-options>] sanitize-log <device> [--rae | -r]
                        [--raw-binary | -b]

πŸ’œ DESCRIPTION πŸ’œ

So here's the tea: this command is a deprecated alias for nvme-log-sanitize(1). it's been kept around for the scripts that were written against nvme-cli versions older than 3.0, which is lowkey iconic of the maintainers ngl. the options and behavior are identical β€” the only thing that's actually different is the top-level command name. that's it. that's the whole difference. πŸ’€

New scripts? bestie, please use nvme log sanitize instead. this alias prints a deprecation warning on stderr and may be removed in a future release, so don't get too attached fr fr 😭

for the full option reference, go see nvme-log-sanitize(1) β€” that's where the real main character energy lives πŸ‘‘


🌈 GLOBAL OPTIONS 🌈

these are defined up at the top-level nvme command, and they're available to this subcommand too. so like, they're not ours ours, but we can borrow them ✨

  • --dry-run β€” prints the command it would execute, but does not actually execute it. window shopping but for ioctls πŸ›οΈ
  • --no-ioctl-probing β€” disables probing for 64-bit IOCTL support. no detective work today πŸ•΅οΈ
  • --no-retries β€” disables the retry logic on transient errors. one shot, one opportunity 🎯
  • -o <fmt>, --output-format=<fmt> β€” set the reporting format to normal, tabular, 'json, or binary. only one output format at a time, so 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, sorry babe πŸ™ˆ
  • --quiet β€” suppresses informational messages. errors are still reported, and --quiet cancels any --verbose for the library log level. it's giving "I'm not mad I'm just quiet" 🀫
  • --set-options=<key=value>[,<key=value>...] β€” set libnvme library options for this invocation. supported keys are force-4k, mi-probe-enabled, test-base-dir and test-sysfs-dir. very build-your-own-adventure 🧚
  • --timeout=<ms> β€” sets the timeout for the command in milliseconds. infinite or -1 waits without a time limit (0xffffffff). no clock-watching, we stay 🫢
  • -v, --verbose β€” increases the level of detail in the output. you can specify it multiple times to crank the verbosity even further. the way that -v -v -v -v just keeps going πŸ“ˆ
πŸ’‘ these options can also be set as machine-wide defaults in nvme-cli.conf(5). a command-line flag always overrides the file β€” flag wins, no cap ⭐

πŸ“ EXAMPLES πŸ“

No Examples 😭 (yes, really β€” that's the whole section. nothing to see here, move along πŸ’€)


πŸ‘‘ NVME πŸ‘‘

Part of the nvme-user suite. one big happy family 🌸


πŸ’– SEE ALSO πŸ’–


and that's the page!! πŸ’œ this little gem is from the NVMe docs, dated 10/30/2026, and it lives at NVME-SANITIZE-LOG(1). mwah, go use nvme log sanitize instead, ily, bye πŸŽ€βœ¨

πŸ“¦ where this page comes from