NVME-ZNS-ID-NS(1)
π nvme-zns-id-ns β a lil' page from the NVMe Manual
okay so bestie, welcome to nvme-zns-id-ns β¨ this is the page that lives in the NVMe Manual family and it's honestly so good at what it does.
πΈ NAME
nvme-zns-id-ns β sends the NVMe Zoned Command Set Identify namespace command, then hands you back the result and the structure. no cap, that's the whole vibe. π
β¨ SYNOPSIS
nvme [<global-options>] zns id-ns <device> [--namespace-id=<NUM> | -n <NUM>]
π¦ DESCRIPTION
okay so for whatever NVMe device you point at, this bad boy sends the zoned command set's identify namespace command and gives you the result plus the returned structure. it's giving "tell me everything about yourself" energy and the device delivers. π
the <device> parameter is mandatory β not optional, not vibe-optional, mandatory β and it can be either the NVMe character device (like /dev/nvme0) or a namespace block device (like /dev/nvme0n1). pick your fighter. π«Ά
on success, the data structure the device returns gets decoded and displayed, and there are like several ways it can show up. main character data structure honestly. π
π OPTIONS
-n <NUM>,--namespace-id=<NUM>β use the namespace id you provide for the command. if you don't provide one, it just uses the namespace id of the block device, easy. but lowkey if the command is being issued to a non-block device, this parameter is required β no skipping it. also you can pass the broadcast value0xffffffff, and you can write it asallor-1too. slay, so many aliases. β
π GLOBAL OPTIONS
these live at the top-level nvme command and they're available to this subcommand too β think of them as the options that raised this subcommand. iconic family support fr fr.
--dry-runβ prints the command that would be executed, but does not actually execute it. it's the "manifesting the command" option. π--no-ioctl-probingβ disables probing for 64-bit IOCTL support.--no-retriesβ disables retry logic on transient errors. one shot, one opportunity. π-o <fmt>,--output-format=<fmt>β sets the reporting format tonormal,tabular,json, orbinary. only one output format at a time, bestie β you can't collect them all. π--output-format-version=<version>β selects the output format version. version1uses the original field naming, while version2(the default) gives you more consistent and script-friendly field names. other versions are rejected β the door is closed, respectfully. πͺ--quietβ suppresses informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. it's the "shhh I'm focusing" flag. π€«--set-options=<key=value>[,<key=value>...]β sets libnvme library options for this invocation. the supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir. π§--timeout=<ms>β sets the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). literally no timer, just vibes and patience. β³-v,--verboseβ increases the level of detail in the output. you can specify it multiple times to further increase verbosity. stackable lore. π₯
and ngl, these options can also be set as machine-wide defaults in nvme-cli.conf(5). but a command-line flag always overrides the file β CLI stays the main character. π
π EXAMPLES
- has the program interpret the returned buffer and display the known fields in a human readable format:
# nvme zns id-ns /dev/nvme0 -n 1
- show the output in
jsonformat with extra details:
# nvme zns id-ns /dev/nvme0 -o json -v
πΈ NVME
part of nvme-cli π
ok that's the whole page, bestie. go identify some namespaces. π
later, icon β this was NVMe, the nvme-cli source, dated 10/30/2026. 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