NVME-GET-NS-ID(1)

πŸ’… NAME πŸ’…

okay so this is the NVMe Manual page for nvme-get-ns-id β€” it retrieves the namespace ID for an NVMe block device, and bestie… it is deprecated πŸ™ˆπŸ’€


✨ SYNOPSIS ✨

nvme [<global-options>] get-ns-id <device>

πŸ¦‹ DESCRIPTION πŸ¦‹

So nvme-get-ns-id is a deprecated alias for nvme-ns-get-id(1), kept around for scripts written against nvme-cli versions older than 3.0. Options and behavior are identical β€” literally the only thing retained is the top-level command name. periodt πŸ’…

New scripts should use nvme ns get-id instead, no cap. This alias prints a deprecation warning on stderr and may be removed in a future release, so don’t get too attached 😭

See nvme-ns-get-id(1) for the full option reference 🫢


🌈 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. It’s giving β€œlook but don’t touch” ✨
  • --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, bestie β€” pick one πŸ’…
  • --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. she’s chatty and we respect it πŸ—£οΈβœ¨

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


πŸŽ€ EXAMPLES πŸŽ€

No Examples 😭 that’s literally the whole section, no cap.


πŸ‘‘ NVME πŸ‘‘

Part of the nvme-user suite 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

nvme-ns-get-id(1)


mwah πŸ’‹ this page comes from the NVMe Manual, source/version NVMe, dated 10/30/2026 β€” iconic, deprecated, and still serving 🌸✨

πŸ“¦ where this page comes from