| NVME-ZNS-ID-NS(1) | NVMe Manual | NVME-ZNS-ID-NS(1) |
NAME
nvme-zns-id-ns - Send NVMe Zoned Command Set Identify namespace, return result and structure
SYNOPSIS
nvme [<global-options>] zns id-ns <device> [--namespace-id=<NUM> | -n <NUM>]
DESCRIPTION
For the NVMe device given, sends the zoned command set’s identify namespace command and provides the result and returned structure.
The <device> parameter is mandatory and may be either the NVMe character device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1).
On success, the data structure returned by the device will be decoded and displayed in one of several ways.
OPTIONS
-n <NUM>, --namespace-id=<NUM>
GLOBAL OPTIONS
The following options are defined at the top-level nvme command and are available to this subcommand:
--dry-run
--no-ioctl-probing
--no-retries
-o <fmt>, --output-format=<fmt>
--output-format-version=<version>
--quiet
--set-options=<key=value>[,<key=value>...]
--timeout=<ms>
-v, --verbose
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file.
EXAMPLES
# nvme zns id-ns /dev/nvme0 -n 1
# nvme zns id-ns /dev/nvme0 -o json -v
NVME
Part of nvme-cli
| 10/30/2026 | NVMe |