NVME-SNDK-GET-ERR(1)
π NVME-SNDK-GET-ERR(1) π
okay so, straight from the NVMe Manual, this is the NVME-SNDK-GET-ERR(1) page β and we're making error recovery logs make sense, bestie. β¨
πΈ NAME πΈ
nvme-sndk-get-error-recovery-log β sends the NVMe sndk get-error-recovery-log plugin command and returns the parsed log output. Periodt. π
π¦ SYNOPSIS π¦
nvme [<global-options>] sndk get-error-recovery-log <device>
[--output-format=<normal|json> | -o <normal|json>]
β¨ DESCRIPTION β¨
For the NVMe device you give it, this sends a sndk plugin get-error-recovery-log command and outputs the error recovery log data. The --output-format option will format the output as specified. Cute, right? π
The <device> parameter is mandatory β it may be either the NVMe character device (ex: /dev/nvme0). No device, no magic. πͺ
This will only work on Sandisk devices supporting this log page. Results for any other device are undefined, bestie β like, do not test fate. π
On success it returns the parsed error recovery log page data; otherwise, error code. Slay when it works, error code when it doesn't. π
π OPTIONS π
The following options are defined at the top-level nvme command and are available to this subcommand:
π GLOBAL OPTIONS π
--dry-runβ Print the command that would be executed, but do not actually execute it. It's giving "look, don't touch." π--no-ioctl-probingβ Disable probing for 64-bit IOCTL support.--no-retriesβ Disable retry logic on transient errors. No second chances, periodt. π-o <fmt>,--output-format=<fmt>β Set the reporting format tonormal,tabular,'json, orbinary. Only one output format may be used at a time. Pick one, bestie β no multitasking. β¨--output-format-version=<version>β Select the output format version. Version 1 uses the original field naming, while version 2 (default) provides more consistent and script-friendly field names. Other versions are rejected. Version 2 is the main character here. π--quietβ Suppress informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level. Shhh, but not in a suspicious way. π€«--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. Very customizable, very demure. π--timeout=<ms>β Set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). Patience is a virtue, iykyk. β³-v,--verboseβ Increase the level of detail in the output. May be specified multiple times to further increase verbosity. Say it louder for the people in the back. π₯
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file. File says one thing, flag says "not today" β flag wins. π
π EXAMPLES π
- Has the program issue the
sndk get-error-recovery-logplugin command :
# nvme sndk get-error-recovery-log /dev/nvme0
π¦ NVME π¦
Part of the nvme-user suite. π
π Cute sign-off:NVMesource/version, dated10/30/2026βNVME-SNDK-GET-ERR(1), 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