NVME-ZNS-ID-CTRL(1)
π nvme-zns-id-ctrl π
πΈ NAME πΈ
okay bestie, this is nvme-zns-id-ctrl, straight outta the NVMe Manual β¨ it sends the NVMe Zoned Command Set Identify Controller command, then returns the result and the returned structure π
β¨ SYNOPSIS β¨
nvme [<global-options>] zns id-ctrl <device>
π¦ DESCRIPTION π¦
For the NVMe device you give it, this sends the zoned command setβs identify controller command and gives you back the result and the returned structure. no cap π«Ά
The <device> parameter is mandatory β like, you literally cannot skip it β and it can be either the NVMe character device (example: /dev/nvme0) or a namespace block device (example: /dev/nvme0n1) π
On success, the data structure returned by the device gets decoded and displayed in one of several ways. slay β¨
π OPTIONS π
π GLOBAL OPTIONS π
These options are defined at the top-level nvme command, and theyβre available to this subcommand too:
--dry-runβ prints the command that would be executed, but does not actually execute it π--no-ioctl-probingβ disables probing for 64-bit IOCTL support--no-retriesβ disables retry logic on transient errors-o <fmt>,--output-format=<fmt>β sets the reporting format tonormal,tabular,'json, orbinary. only one output format may be used at a time, bestie π--output-format-version=<version>β selects the output format version. version1uses the original field naming, while version2is the default and gives more consistent and script-friendly field names. other versions are rejected π«--quietβ suppresses informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level π€«--set-options=<key=value>[,<key=value>...]β sets libnvme library options for this invocation. 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) β³-v,--verboseβ increases 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, periodt π
π EXAMPLES π
- has the program interpret the returned buffer and display the known fields in a human readable format:
# nvme zns id-ctrl /dev/nvme0
- show the output in json format:
# nvme zns id-ctrl /dev/nvme0 -o json
π NVME π
part of nvme-cli π«Ά
mwah π this iconic page came from the NVMe Manual, dated 10/30/2026. bye bestie, go flex that zoned command set knowledge π
π¦ 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