[SOLVED] how can i identify NICs in use for iSCSI multipath

hotwired007

Member
Sep 19, 2011
533
7
16
UK
I have 5 nodes, each node has 6 NICs, 2 are bonded for proxmox traffic (Active/Backup) 4 are used for dedicatied iSCSI traffic.

I ahve an error showing a disconnect in all 5 Nodes @ 6.22am, i need to find out which NIC on each server is in use for the following iSCSI connections:

a) 8:0:0:0 (SDC) & 8:0:0:1 (SDE)
b) 7:0:0:0 (SDB) & 7:0:0:1 (SDD)
c) 5:0:0:0 (SDC) & 5:0:0:1 (SDG)
d) 12:0:0:0 (SDM) & 12:0:0:1 (SDP)
e) 5:0:0:0 (SDE) & 5:0:0:1 (SDG)

any suggestions on how to show which NICs these are from?

iscsiadm -m sessions shows this:
Code:
root@voyager:/# iscsiadm -m session
tcp: [1] 192.168.131.102:3260,2 iqn.1984-05.com.dell:powervault.md3200i.690b11c00008daa200000000507e5aff
tcp: [10] 192.168.132.101:3260,1 iqn.1984-05.com.dell:powervault.md3200i.690b11c00008daa200000000507e5aff
tcp: [2] 192.168.131.101:3260,1 iqn.1984-05.com.dell:powervault.md3200i.690b11c00008daa200000000507e5aff
tcp: [3] 192.168.133.101:3260,1 iqn.1984-05.com.dell:powervault.md3200i.690b11c00008daa200000000507e5aff
tcp: [4] 192.168.133.102:3260,2 iqn.1984-05.com.dell:powervault.md3200i.690b11c00008daa200000000507e5aff
tcp: [5] 192.168.100.6:3260,1 iqn.2012-03.ReadyNAS2:images
tcp: [6] 192.168.100.6:3260,1 iqn.2012-03.ReadyNAS2:images-two
tcp: [7] 192.168.130.102:3260,2 iqn.1984-05.com.dell:powervault.md3200i.690b11c00008daa200000000507e5aff
tcp: [8] 192.168.132.102:3260,2 iqn.1984-05.com.dell:powervault.md3200i.690b11c00008daa200000000507e5aff
tcp: [9] 192.168.130.101:3260,1 iqn.1984-05.com.dell:powervault.md3200i.690b11c00008daa200000000507e5aff
 
Last edited:
Re: how cna i identify NICs in use for iSCSI multipath

iscsiadm -m sessions -P 3

shows all the device info:

************************
Attached SCSI devices:
************************
Host Number: 8 State: running
scsi8 Channel 00 Id 0 Lun: 0
Attached scsi disk sdc State: running
scsi8 Channel 00 Id 0 Lun: 1
Attached scsi disk sde State: running
scsi8 Channel 00 Id 0 Lun: 31
Current Portal: 192.168.133.101:3260,1
Persistent Portal: 192.168.133.101:3260,1