1NVME-ZNS-ID-NS(1) NVMe Manual NVME-ZNS-ID-NS(1)
2
3
4
6 nvme-zns-id-ns - Send NVMe Zoned Command Set Identify namespace, return
7 result and structure
8
10 nvme zns id-ns <device> [--namespace-id=<NUM> | -n <NUM>]
11 [-o <fmt> | --output-format=<fmt>]
12 [-v | --verbose]
13
15 For the NVMe device given, sends the zoned command set’s identify
16 namespace command and provides the result and returned structure.
17
18 The <device> parameter is mandatory and may be either the NVMe
19 character device (ex: /dev/nvme0), or a namespace block device (ex:
20 /dev/nvme0n1).
21
22 On success, the data structure returned by the device will be decoded
23 and displayed in one of several ways.
24
26 -n <NUM>, --namespace-id=<NUM>
27 Use the provided namespace id for the command. If not provided, the
28 namespace id of the block device will be used. If the command is
29 issued to a non-block device, the parameter is required.
30
31 -v, --verbose
32 Increase the information detail in the output.
33
34 -o <format>, --output-format=<format>
35 Set the reporting format to normal, json, or binary. Only one
36 output format can be used at a time.
37
39 • Has the program interpret the returned buffer and display the known
40 fields in a human readable format:
41
42 # nvme zns id-ns /dev/nvme0 -n 1
43
44 • Show the output in json format with extra details
45
46 # nvme zns id-ns /dev/nvme0 -o json -v
47
49 Part of nvme-cli
50
51
52
53NVMe 11/04/2022 NVME-ZNS-ID-NS(1)