NVME-OCP-SMART-AD(1)
π NVME-OCP-SMART-AD(1) β the nvme manual, bestie edition β¨
okay so this page lives in the NVMe Manual and honestly it's kind of a niche little icon but we love her. it's nvme-ocp-smart-add-log and she's here to spill the tea on your drive's extended SMART info π«Ά
πΈ NAME πΈ
nvme-ocp-smart-add-log β gets the Extended SMART information out of a device that's OCP compliant π
β¨ SYNOPSIS β¨
nvme [<global-options>] ocp smart-add-log <device> [--no-uuid | -n]
π¦ DESCRIPTION π¦
so for the NVMe device you hand her, she sends a smart-add-log command and gives you back the additional smart log. that's the whole vibe. β¨
the <device> parameter is mandatory β like, non-negotiable, she needs it β and it can be either the NVMe character device (ex: /dev/nvme0) or the block device (ex: /dev/nvme0n1). either one slays, pick your fighter π
β οΈ real talk: this only works on OCP compliant devices that support this feature. for any other device?? the results are undefined. not "undefined" as in quirky, undefined as in please don't π
on success it returns 0. otherwise you get an error code. that's it, that's the check-in π
π OPTIONS π
-n,--no-uuidβ don't try to automatically detect the UUID index for this command. it's required for old OCP 1.0 support, so if you're on the vintage build, this one's your bestie π§
π GLOBAL OPTIONS π
these ones are defined at the top-level nvme command, but they're available to this subcommand too. shared custody, we love to see it π«Ά
--dry-runβ prints the command that would be executed, but doesn't actually execute it. all the anticipation, none of the commitment π--no-ioctl-probingβ disables probing for 64-bit IOCTL support.--no-retriesβ disables the retry logic on transient errors. one shot, no second chances π₯-o <fmt>,--output-format=<fmt>β sets the reporting format tonormal,tabular,json, orbinary. only one output format at a time, bestie, don't be greedy β¨--output-format-version=<version>β picks the output format version. version1uses the original field naming, while version2(the default) gives you more consistent and script-friendly field names. any other versions get rejected. no cap.--quietβ suppresses informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. she's quiet but she's not silent, iykyk π--set-options=<key=value>[,<key=value>...]β sets libnvme library options for this invocation. the supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir. mix and match, it's giving customization π--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. may be specified multiple times to further increase verbosity. spam her, she can take it π
these options can also be set as machine-wide defaults in nvme-cli.conf(5). and a command-line flag always overrides the file. the CLI is the main character here, periodt π
π EXAMPLES π
- has the program issue a smart-add-log command to retrieve the
0xC0log page:
# nvme ocp smart-add-log /dev/nvme0
π NVME π
part of the nvme-user suite π
okay bye bestie, go get that log π¦ and if you need the receipts: this was the NVMe manual page NVME-OCP-SMART-AD(1), dated 10/30/2026. write it down, cite it in your essay, mwah ππ
π¦ 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