NVME-SNDK-VS-SMAR(1)
π NVME-SNDK-VS-SMAR(1) π
okay bestie so this is a page from the NVMe Manual, and it's about nvme-sndk-vs-smart-add-log β yes that's a mouthful, we're gonna get through it together π«Ά
β¨ NAME β¨
nvme-sndk-vs-smart-add-log β Send the NVMe sndk vs-smart-add-log Vendor Unique Command and, like, return the result π
πΈ SYNOPSIS πΈ
nvme [<global-options>] sndk vs-smart-add-log <device>
[--interval=<NUM>, -i <NUM>]
[--log-page-version=<NUM>, -l <NUM>]
[--log-page-mask=<LIST>, -p <LIST>]
[--namespace-id=<nsid> | -n <nsid>]
π¦ DESCRIPTION π¦
So for the NVMe device you hand over, it sends a Vendor Unique sndk vs-smart-add-log command and gives you back the additional smart log. Iconic behavior honestly.
The <device> parameter is mandatory β not optional, not vibes-based, mandatory. And it can be either the NVMe character device (like /dev/nvme0) or the block device (like /dev/nvme0n1). Either one, you pick π
β οΈ This will only work on Sandisk devices that support this feature. Results for any other device are undefined β like, we genuinely don't know what happens, so don't come for us π
On success it returns 0, otherwise you get an error code. Slay when it's 0, sad when it's not.
π OPTIONS π
-i <NUM>,--interval=<NUM>β Returns the statistics from a specific interval, and it defaults to14. Heads up though: this parameter is only valid for the0xC1log page and is ignored for all the other log pages π«Ά-l <NUM>,--log-page-version=<NUM>β Log Page Version, where0= vendor and1= sndk. This one is only valid for the0xC0log page and gets ignored for every other log page, no cap.-p <LIST>,--log-page-mask=<LIST>β Give it a comma separated list of the log pages you want displayed. The possible values are0xc0,0xc1,0xca. Note: not all pages are supported on all drives (rude, I know). The default is to display all supported log pages β¨-n <nsid>,--namespace-id=<nsid>β Sets the command'snsidvalue to whatevernsidyou give it. Defaults to0xffffffffif you don't give one. This option may not affect anything depending on the log page, because the log page may or may not be specific to a namespace β it's giving "it depends" energy π The broadcast value0xffffffffcan also be given asallor-1.
π« Valid Interval values and description π«
okay this used to be a whole table, but we're doing it as a list because we're cute like that:
1β Most recent five (5) minute accumulated set.2-12β Previous five (5) minute accumulated sets.13β The accumulated total of sets 1 through 12 that contain the previous hour of accumulated statistics.14β The statistical set accumulated since power-up.15β The statistical set accumulated during the entire lifetime of the device.
π GLOBAL OPTIONS π
These are defined up at the top-level nvme command, and they're all available to this subcommand too. Besties sharing, we love to see it π
--dry-runβ Print the command that would be executed, but don't actually execute it. Manifesting the command without committing, honestly.--no-ioctl-probingβ Disable probing for 64-bit IOCTL support.--no-retriesβ Disable retry logic on transient errors. One shot, no take-backs π-o <fmt>,--output-format=<fmt>β Set the reporting format tonormal,tabular,'json, orbinary. Only one output format may be used at a time β pick your fighter.--output-format-version=<version>β Select the output format version. Version 1 uses the original field naming, while version 2 (the default) provides more consistent and script-friendly field names. Other versions are rejected, periodt.--quietβ Suppress informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level. Quiet mode said "not today" to chatter.--set-options=<key=value>[,<key=value>...]β Set libnvme library options for this invocation. Supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir.--timeout=<ms>β Set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff) β living dangerously, we respect it.-v,--verboseβ Increase the level of detail in the output. May be specified multiple times to further increase verbosity β stack 'em, go feral, get all the lore π₯
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file β command line is the main character here π
π EXAMPLES π
- Has the program issue
sndk vs-smart-add-logVendor Unique Command with the default interval (14):
# nvme sndk vs-smart-add-log /dev/nvme0
- Has the program issue
sndk vs-smart-add-logVendor Unique Command for just the0xCAlog page:
# nvme sndk vs-smart-add-log /dev/nvme0 -p 0xCA
- Has the program issue
sndk vs-smart-add-logVendor Unique Command for the0xC0and0xCAlog pages:
# nvme sndk vs-smart-add-log /dev/nvme0 -p 0xCA,0xC0
π§ NVME π§
Part of the nvme-user suite. One of us, one of us π
okay that's the whole page, you ate that π this was the NVMe manual, dated 10/30/2026, and it's the NVME-SNDK-VS-SMAR(1) page β go forth and read your smart logs, bestie, ily πβ¨
π¦ 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