1NVME-LIST-SUBSYS(1) NVMe Manual NVME-LIST-SUBSYS(1)
2
3
4
6 nvme-list-subsys - List all NVMe subsystems
7
9 nvme list-subsys [-o <fmt> | --output-format=<fmt>]
10
12 Scan the sysfs tree for NVM Express subsystems and return the
13 controllers for those subsystems as well as some pertinent information
14 about them.
15
17 -o <format>, --output-format=<format>
18 Set the reporting format to normal or json. Only one output format
19 can be used at a time.
20
22 root@host[1]# nvme list-subsys nvme-subsys0 - NQN=nvmf-test \ +- nvme0
23 rdma traddr=1.1.1.3 trsvcid=4420 host_traddr=1.1.1.1 +- nvme1 rdma
24 traddr=1.1.1.3 trsvcid=4420 host_traddr=1.1.1.2 nvme-subsys1 -
25 NQN=nvmf-test2 \ +- nvme2 rdma traddr=1.1.1.3 trsvcid=4420
26 host_traddr=1.1.1.2 +- nvme3 rdma traddr=1.1.1.3 trsvcid=4420
27 host_traddr=1.1.1.1
28
29 root@host[1]# nvme list-subsys -o json { "Subsystems" : [ { "Name" :
30 "nvme-subsys0", "NQN" : "nvmf-test" }, { "Paths" : [ { "Name" :
31 "nvme0", "Transport" : "rdma", "Address" : "traddr=1.1.1.3 trsvcid=4420
32 host_traddr=1.1.1.1" }, { "Name" : "nvme1", "Transport" : "rdma",
33 "Address" : "traddr=1.1.1.3 trsvcid=4420 host_traddr=1.1.1.2" } ] }, {
34 "Name" : "nvme-subsys1", "NQN" : "nvmf-test2" }, { "Paths" : [ { "Name"
35 : "nvme2", "Transport" : "rdma", "Address" : "traddr=1.1.1.3
36 trsvcid=4420 host_traddr=1.1.1.2" }, { "Name" : "nvme3", "Transport" :
37 "rdma", "Address" : "traddr=1.1.1.3 trsvcid=4420 host_traddr=1.1.1.1" }
38 ] } ] }
39
41 Part of the nvme-user suite
42
44 1. root@host
45 mailto:root@host
46
47
48
49NVMe 06/05/2018 NVME-LIST-SUBSYS(1)