Attached three volumes
iscsiadm --mode session ; multipath -ll tcp: [1] 192.168.1.4:3260,1 iqn.2010-10.org.openstack:volume-9289512a-227a-4085-87e6-e69af6574ef8 tcp: [2] 192.168.1.4:3260,1 iqn.2010-10.org.openstack:volume-68502556-ea4f-4947-bd01-83de129640b6 tcp: [3] 192.168.1.4:3260,1 iqn.2010-10.org.openstack:volume-30681ec0-6584-4146-b86f-2f3a577ae123 33000000300000001 dm-5 IET,VIRTUAL-DISK size=1.0G features='0' hwhandler='0' wp=rw `-+- policy='round-robin 0' prio=1 status=active `- 4:0:0:1 sdc 8:32 active ready running 33000000100000001 dm-3 IET,VIRTUAL-DISK size=1.0G features='0' hwhandler='0' wp=rw `-+- policy='round-robin 0' prio=1 status=active `- 2:0:0:1 sda 8:0 active ready running 33000000200000001 dm-4 IET,VIRTUAL-DISK size=1.0G features='0' hwhandler='0' wp=rw `-+- policy='round-robin 0' prio=1 status=active `- 3:0:0:1 sdb 8:16 active ready running
Detached one of them
root@node-5:~# iscsiadm --mode session ; multipath -ll tcp: [2] 192.168.1.4:3260,1 iqn.2010-10.org.openstack:volume-68502556-ea4f-4947-bd01-83de129640b6 tcp: [3] 192.168.1.4:3260,1 iqn.2010-10.org.openstack:volume-30681ec0-6584-4146-b86f-2f3a577ae123 33000000300000001 dm-5 IET,VIRTUAL-DISK size=1.0G features='0' hwhandler='0' wp=rw `-+- policy='round-robin 0' prio=1 status=active `- 4:0:0:1 sdc 8:32 active ready running 33000000100000001 dm-3 , size=1.0G features='0' hwhandler='0' wp=rw `-+- policy='round-robin 0' prio=0 status=enabled `- #:#:#:# - #:# failed faulty running 33000000200000001 dm-4 IET,VIRTUAL-DISK size=1.0G features='0' hwhandler='0' wp=rw `-+- policy='round-robin 0' prio=1 status=active `- 3:0:0:1 sdb 8:16 active ready running
Attached three volumes
iscsiadm --mode session ; multipath -ll 10.org. openstack: volume- 9289512a- 227a-4085- 87e6-e69af6574e f8 10.org. openstack: volume- 68502556- ea4f-4947- bd01-83de129640 b6 10.org. openstack: volume- 30681ec0- 6584-4146- b86f-2f3a577ae1 23
tcp: [1] 192.168.1.4:3260,1 iqn.2010-
tcp: [2] 192.168.1.4:3260,1 iqn.2010-
tcp: [3] 192.168.1.4:3260,1 iqn.2010-
33000000300000001 dm-5 IET,VIRTUAL-DISK
size=1.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
`- 4:0:0:1 sdc 8:32 active ready running
33000000100000001 dm-3 IET,VIRTUAL-DISK
size=1.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
`- 2:0:0:1 sda 8:0 active ready running
33000000200000001 dm-4 IET,VIRTUAL-DISK
size=1.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
`- 3:0:0:1 sdb 8:16 active ready running
Detached one of them
root@node-5:~# iscsiadm --mode session ; multipath -ll 10.org. openstack: volume- 68502556- ea4f-4947- bd01-83de129640 b6 10.org. openstack: volume- 30681ec0- 6584-4146- b86f-2f3a577ae1 23
tcp: [2] 192.168.1.4:3260,1 iqn.2010-
tcp: [3] 192.168.1.4:3260,1 iqn.2010-
33000000300000001 dm-5 IET,VIRTUAL-DISK
size=1.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
`- 4:0:0:1 sdc 8:32 active ready running
33000000100000001 dm-3 ,
size=1.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=0 status=enabled
`- #:#:#:# - #:# failed faulty running
33000000200000001 dm-4 IET,VIRTUAL-DISK
size=1.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
`- 3:0:0:1 sdb 8:16 active ready running