NVME-LOG-ENDURANCE(1)
π nvme-log-endurance β bestie's guide to the NVMe Manual β¨
okay so real talk, this is the nvme-log-endurance page from the NVMe Manual, and it's literally just here to help you pull the Endurance log page off your drive. no gatekeeping, let's go π«Ά
πΈ NAME πΈ
nvme-log-endurance β sends an NVMe Endurance log page request, and then gives you back the result and the log. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
nvme [<global-options>] log endurance <device>
[--group-id=<group> | -g <group>]
like, that's the shape of it. short, sweet, iconic π
π¦ DESCRIPTION π¦
so what this does is it reaches into your NVMe device, grabs the NVMe Endurance log page, and hands you back the structure it found. very demure, very mindful π
the <device> parameter is mandatory β you can't skip it, it's giving main character energy and it will be required. and it can be either of these two things:
- the NVMe character device (ex:
/dev/nvme0) - or a namespace block device (ex:
/dev/nvme0n1)
when it works? the returned endurance log structure can come back to you in one of several ways, and which one depends on your option flags:
- the structure gets parsed by the program and printed in a readable format π
- the raw buffer gets printed to stdout so another program can parse it π§
- or it's reported in json format π§
pick your fighter, bestie π
π₯ OPTIONS π₯
-g<group>,--group-id=<group> β the endurance group identifier. literally that. π
β GLOBAL OPTIONS β
okay so these ones are defined up at the top-level nvme command, which means they're available to this subcommand too. they're like the big sisters of the option family π
--dry-runβ prints the command that would be executed, but doesn't actually execute it. window shopping, but for commands π--no-ioctl-probingβ disables probing for 64-bit IOCTL support. no cap, that's what it does.--no-retriesβ disables the retry logic on transient errors. one shot, one opportunity π-o<fmt>,--output-format=<fmt> β sets the reporting format tonormal,tabular,'json, orbinary. and bestie, only one output format may be used at a time β you cannot be greedy here β οΈ--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 versions get rejected, periodt π«--quietβ suppresses informational messages. errors still get reported, and--quietcancels any--verbosefor the library log level. it's the "shhh" of flags π€«--set-options=<key=value>[,<key=value>...] β sets libnvme library options for this one invocation. the supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir. mix and match, comma-separated π--timeout=<ms> β sets the timeout for the command in milliseconds.infiniteor-1waits without a 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 higher. yap mode: unlocked π£οΈ
also!! these options can be set as machine-wide defaults in nvme-cli.conf(5). and a command-line flag always overrides the file. flag supremacy, fr fr π
π EXAMPLES π
- print the Endurance log page in a human readable format:
# nvme log endurance /dev/nvme0
- print the raw Endurance log to a file:
# nvme log endurance /dev/nvme0 --output=binary > endurance_log.raw
it is probably a bad idea to not redirect stdout when using this mode. like... probably don't. consider yourself warned bestie π
π NVME π
part of the nvme-user suite. you're in good company π
kay that's the whole page!! source and version vibes: NVMe, dated 10/30/2026, and it's NVME-LOG-ENDURANCE(1) β slay, go read your logs πβ¨π
π¦ 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