NVME-MEDIA-UNIT-S(1)

๐Ÿ“ฆ version 3.2, in arch rolling

๐Ÿ’… NAME ๐Ÿ’…

nvme-media-unit-stat-log โ€” sends an NVMe Media unit status Log pages request, hands you back the result and the log. Also, bestieโ€ฆ it's deprecated. ๐Ÿ˜ญ


โœจ SYNOPSIS โœจ

nvme [<global-options>] media-unit-stat-log <device>
                        [--dom-id | -d]
                        [--raw-binary | -b]

yeah that's the whole vibe โ€” one device, two optional flags, no drama ๐ŸŽ€


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

Okay so real talk: this is a deprecated alias for nvme-log-media-unit-stat(1). It's still here because we love our legacy scripts and we would never ghost them โ€” specifically, it's kept for scripts written against nvme-cli versions older than 3.0. The options and behavior are identical; literally the only thing retained is the top-level command name. iykyk ๐Ÿ’…

New scripts? Babes. Use nvme log media-unit-stat 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-media-unit-stat(1) โ€” that's the main character here ๐Ÿ‘‘


๐ŸŒˆ GLOBAL OPTIONS ๐ŸŒˆ

These are defined up at the top-level nvme command and they're available to this subcommand too. Group-chat-wide settings, basically ๐Ÿ’–

  • --dry-run โ€” prints the command that would be executed, but doesn't actually execute it. Manifesting the command without committing ๐Ÿ”ฎ
  • --no-ioctl-probing โ€” disables probing for 64-bit IOCTL support. No poking around, we're just gonna assume โœจ
  • --no-retries โ€” kills the retry logic on transient errors. One shot, one opportunity ๐Ÿ˜ค
  • -o <fmt>, --output-format=<fmt> โ€” sets the reporting format to normal, tabular, 'json, or binary. Only one output format at a time, please โ€” we don't do "why not both" ๐ŸŽ€
  • --output-format-version=<version> โ€” picks 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 โ€” not on the list, not invited ๐Ÿ’€
  • --quiet โ€” suppresses informational messages. Errors are still reported, and --quiet also cancels any --verbose for the library log level. Silence is golden, but the tea still gets spilled when something breaks ๐Ÿ™ˆ
  • --set-options=<key=value>[,<key=value>...] โ€” sets libnvme library options for this one invocation. Supported keys are force-4k, mi-probe-enabled, test-base-dir and test-sysfs-dir. Customize your little heart out ๐Ÿ“
  • --timeout=<ms> โ€” sets the timeout for the command in milliseconds. Passing infinite or -1 waits with no time limit (0xffffffff). Patient queen behavior ๐Ÿ‘‘
  • -v, --verbose โ€” increases the level of detail in the output. You can specify it multiple times to crank the verbosity even further. More, more, MORE ๐Ÿ”ฅ
Heads up bestie: these options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file โ€” CLI stays winning, no cap ๐Ÿ’œ

๐ŸŒธ EXAMPLES ๐ŸŒธ

No Examples

(yes literally, that's what it says โ€” no examples, move along ๐Ÿงš)


โญ NVME โญ

Part of the nvme-user suite ๐ŸŽ€


๐Ÿ’– SEE ALSO ๐Ÿ’–


k byeee, this has been the NVMe Manual's nvme-media-unit-stat-log page, dated 10/30/2026 โ€” go forth and use the non-deprecated one, bestie, your future self will thank you ๐Ÿซถโœจ

๐Ÿ“ฆ where this page comes from