NVME-WDC-GET-ERRO(1)

πŸ’– nvme-wdc-get-error-recovery-log πŸ’–

okay bestie, welcome to the NVMe Manual ✨ this is the page for the WDC error-recovery-log plugin command, and yes it is a whole vibe.


🌸 NAME 🌸

nvme-wdc-get-error-recovery-log β€” send the NVMe WDC get-error-recovery-log plugin command and return the parsed log output 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

nvme [<global-options>] wdc get-error-recovery-log <device>
                        [--output-format=<normal|json> | -o <normal|json>]

✨ DESCRIPTION ✨

So for the NVMe device you give it, this sends a WDC plugin get-error-recovery-log command and outputs the error recovery log data. The --output-format option will format the output as specified πŸ’…

The <device> parameter is mandatory, bestie β€” it may be either the NVMe character device (ex: /dev/nvme0).

🚨 This will only work on WDC devices supporting this log page. Results for any other device are undefined β€” like, truly undefined, so don't come for me if you try it on some rando device 😭

On success it returns the parsed error recovery log page data, error code otherwise. periodt.


πŸ’… OPTIONS πŸ’…

🌈 GLOBAL OPTIONS 🌈

The following options are defined at the top-level nvme command and are available to this subcommand:

  • --dry-run β€” Print the command that would be executed, but do not actually execute it.
  • --no-ioctl-probing β€” Disable probing for 64-bit IOCTL support.
  • --no-retries β€” Disable retry logic on transient errors.
  • -o <fmt>, --output-format=<fmt> β€” Set the reporting format to normal, tabular, 'json, or binary. Only one output format may be used at a time.
  • --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.
  • --quiet β€” Suppress informational messages. Errors are still reported, and --quiet cancels any --verbose for the library log level.
  • --set-options=<key=value>[,<key=value>...] β€” Set libnvme library options for this invocation. Supported keys are force-4k, mi-probe-enabled, test-base-dir and test-sysfs-dir.
  • --timeout=<ms> β€” Set the timeout for the command in milliseconds. infinite or -1 waits without a time limit (0xffffffff).
  • -v, --verbose β€” Increase the level of detail in the output. May be specified multiple times to further increase verbosity.

These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file πŸ‘‘


πŸ“ EXAMPLES πŸ“

  • Has the program issue WDC get-error-recovery-log plugin command :
# nvme wdc get-error-recovery-log /dev/nvme0

πŸ‘‘ NVME πŸ‘‘

Part of the nvme-user suite. iconic behavior, honestly.


πŸ’œ that's the whole page, bestie β€” source/version: NVMe Β· date: 10/30/2026 Β· page: NVME-WDC-GET-ERRO(1) Β· byeee ✨

πŸ“¦ where this page comes from