NVME-DAPUSTOR-SMAR(1)
π NVME-DAPUSTOR-SMAR(1) β the DapuStor smart log page, explained by your favorite Unix girlie π
okay so bestie, this is a page from the NVMe Manual (section 1, the command section, iykyk) and honestly? it's a whole vibe. let's get into it π¦
β¨ NAME β¨
nvme-dapustor-smart-log-add β literally just: send an NVMe DapuStor Additional SMART log page request, and it gives you back the result and the log. iconic behavior, no notes π
πΈ SYNOPSIS πΈ
nvme [<global-options>] dapustor smart-log-add <device>
[--namespace-id=<nsid> | -n <nsid>]
[--raw-binary | -b]
[--json | -j]
π§ DESCRIPTION π§
so what this does is it retrieves the NVMe DapuStor Additional SMART log page from the device, and then hands you back the returned structure. that's the whole plot π
the <device> parameter is mandatory β not optional, not a suggestion, not "maybe later". and it can be either:
- the NVMe character device (ex:
/dev/nvme0), or - a namespace block device (ex:
/dev/nvme0n1)
on success, the returned smart log structure can come back at you in one of several ways depending on which option flags you picked β lowkey your choice, your era. the structure may be parsed by the program and printed in a readable format, or the raw buffer may be printed to stdout so another program can parse it instead. both slay, just different energy β¨
π OPTIONS π
-n <nsid>,--namespace-id=<nsid>β retrieve the Additional SMART log for the given _nsid_. this one's optional, and whether it actually works may depend on the device's capabilities to provide this log on a per-namespace basis (peep the NVMe Identify Controller for that capability, iykyk). the default _nsid_ to use is0xffffffff, which gets you the device global SMART log. the broadcast value0xffffffffcan also be given asallor-1π«Ά-b,--raw-binaryβ print the raw DapuStor Additional SMART log buffer to stdout. raw. unfiltered. feral π-j,--jsonβ dump output in json format. for the script girlies π§
π GLOBAL OPTIONS π
these bad boys are defined at the top-level nvme command and are available to this subcommand too β they're like the group chat that this subcommand is in:
--dry-runβ print the command that would be executed, but don't actually execute it. manifesting without committing, honestly β¨--no-ioctl-probingβ disable probing for 64-bit IOCTL support. not me disabling the vibes check π--no-retriesβ disable retry logic on transient errors. one shot, one opportunity π€-o <fmt>,--output-format=<fmt>β set the reporting format tonormal,tabular,'json, orbinary. only one output format may be used at a time β pick a lane bestie, we don't do both π--output-format-version=<version>β select the output format version. version1uses the original field naming, while version2(the default) provides more consistent and script-friendly field names. other versions are rejected β do not come for version 3, she does not exist π--quietβ suppress informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. silence is golden, but the errors still get to speak π--set-options=<key=value>[,<key=value>...]β set libnvme library options for this invocation. the supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir. very much a "your settings, your rules" moment π₯--timeout=<ms>β set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). she'll wait forever, literally π-v,--verboseβ increase the level of detail in the output. may be specified multiple times to further increase verbosity. stack it like it's a perfume layering situation πΈ
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 β the flag is the main character, periodt π
β EXAMPLES β
- print the DapuStor Additional SMART log page in a human readable format:
# nvme dapustor smart-log-add /dev/nvme0
- print the raw DapuStor Additional SMART log to a file:
# nvme dapustor smart-log-add /dev/nvme0 --raw-binary > smart_log.raw
β οΈ it is probably a bad idea to not redirect stdout when using this mode. like, genuinely. please redirect. i'm begging π
π¦ NVME π¦
part of the nvme-user suite. we're a family, we're a unit, we're a whole ecosystem π
and that's the page, bestie! π this was the NVMe manual, dated 10/30/2026, filed under NVME-DAPUSTOR-SMAR(1) β go forth, dump some raw smart logs, and remember to redirect your stdout π«Άβ¨π
π¦ 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