1NVME-ID-NS(1) NVMe Manual NVME-ID-NS(1)
2
3
4
6 nvme-list-ns - Send NVMe Identify List Namespaces, return result and
7 structure
8
10 nvme list-ns <device> [--namespace-id=<nsid> | -n <nsid>]
11 [--all | -a]
12
14 For the NVMe device given, sends an identify command for namespace list
15 and provides the result and returned structure.
16
17 The <device> parameter is mandatory and may be either the NVMe
18 character device (ex: /dev/nvme0), or a namespace block device (ex:
19 /dev/nvme0n1). If the starting namespace in the list always begins with
20 0 unless the '--namespace-id' option is given to override.
21
22 On success, the namespace array is printed for each index and nsid for
23 a valid nsid.
24
26 -n <nsid>, --namespace-id=<nsid>
27 Retrieve the identify list structure starting with the given nsid.
28
29 -a, --all
30 Retrieve the identify list structure for all namespaces in the
31 subsystem, whether attached or inactive.
32
34 No examples yet.
35
37 Part of the nvme-user suite
38
39
40
41NVMe 01/07/2020 NVME-ID-NS(1)