[SPDK] Re: NVMe Multipath subsystem controller IDs

omchavan6699 at gmail.com Mon, 26 Apr 2021 11:11:20 +0000
Newsgroups dev.linux.lists.spdk
Message-ID <[email protected]>
hey i have created  cluster file system between 2 node i created single file on volume and exported same file using spdk nvmf 
 nqn.2016-06.io.spdk:cnode1 from node1 of our cluster
 nqn.2016-06.io.spdk:cnode2 from node2 of our cluster
at initiator i configured device mapper but it shows two different paths for that  devices.

 multipath -ll
mpathx (uuid.21a2afe5-a737-4bbb-a09c-567931da8ad5) dm-2 NVME,SPDK_Controller1
size=100M features='0' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=50 status=active
  `- 1:1:1:1 nvme1n1 259:1 active ready running
mpathw (uuid.5b89b705-2e26-422a-9b94-5c28f419bbeb) dm-17 NVME,SPDK_Controller1
size=100M features='0' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=50 status=active
  `- 0:1:1:1 nvme0n1 259:0 active ready running
but if i used spdk iscsi it shows single path and device mapper working properly.why it giving 2 path with nvmf can anyone explain this.