NVME-SNDK-GET-DRI(1)

πŸ’– nvme-sndk-get-drive-status(1) β€” NVMe Manual πŸ’–

🌸 NAME 🌸

nvme-sndk-get-drive-status β€” sends the NVMe sndk get-drive-status command and returns the result. That’s the whole assignment, bestie. πŸ’…

✨ SYNOPSIS ✨

nvme [<global-options>] sndk get-drive-status <device>

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so for the NVMe device you hand it, this sends the unique sndk get-drive-status command and gives you the extra drive status info. Iconic behavior, honestly.

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

⚠️ This will only work on Sandisk devices that support this feature. Results for any other device are undefined. Like, do not test your luck here, fr fr.

On success it returns 0; otherwise it returns an error code. Simple, clean, slay.

🌟 OUTPUT EXPLANATION 🌟

Here’s the field-by-field vibe check, no details skipped:

  • Percent Life Used. β€” the percentage of drive function used.
  • EOL (End of Life) Status β€” the 3 possible states are: Normal, Read Only, or End of Life.
  • Assert Dump Status β€” the 2 possible states are: Present or Not Present.
  • Thermal Throttling Status β€” the 3 possible states are: Off, On, or Unavailable.
  • Format Corrupt Reason β€” the 3 possible states are: Not Corrupted, Corrupt due to FW Assert, or Corrupt for Unknown Reason.

🌈 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. Bestie, the CLI wins. Periodt.

πŸŽ€ EXAMPLES πŸŽ€

  • Has the program issue the sndk get-drive-status command:
# nvme sndk get-drive-status /dev/nvme0

πŸ‘‘ NVME πŸ‘‘

Part of the nvme-user suite. πŸ’œ


Catch you later, bestie 🫢 β€” source/version: NVMe, date: 10/30/2026.

πŸ“¦ where this page comes from