iscsiadm do not allow to discovery the same LUN with second NIC

Solution Verified - Updated -

Issue

  • iscsiadm do not allow to discovery the same LUN with a second NIC when using multipath, as described in the tentative bellow:

    # iscsiadm --mode iface --op=new --interface iscsi-0
    # iscsiadm --mode iface --op=new --interface iscsi-1
    
    # iscsiadm --mode iface --op=update --interface iscsi-0 --name=iface.net_ifacename --value=eth0
    # iscsiadm --mode iface --op=update --interface iscsi-1 --name=iface.net_ifacename --value=eth1
    
    • Discovery using first NIC works properly:
    # iscsiadm -m discovery -t st -p 172.17.50.10 -I iscsi-0
    172.17.50.10:3260,1 iqn.2012-08.com.example:test:10000:test5
    
    • But when try with the second NIC, the following error appears:
    # iscsiadm -m discovery -t st -p 172.17.50.10 -I iscsi-1
    iscsiadm: cannot make connection to 172.17.50.10: Connection timed out
    iscsiadm: cannot make connection to 172.17.50.10: Connection timed out
    iscsiadm: cannot make connection to 172.17.50.10: Connection timed out
    iscsiadm: cannot make connection to 172.17.50.10: Connection timed out
    iscsiadm: cannot make connection to 172.17.50.10: Connection timed out
    iscsiadm: cannot make connection to 172.17.50.10: Connection timed out
    iscsiadm: connection login retries (reopen_max) 5 exceeded
    iscsiadm: No portals found
    
  • The same behavior occurs if I change the interface order (tried interface iscsi-1 first and iscsi-0 second), the first discovery happens successfully and the second shows the same problem. How to fix it?

Environment

  • Red Hat Enterprise Linux 5, 6, 7
  • iscsi-initiator-utils
  • Multiple network adapters on same subnet
  • iscsid configured to bind connections to specific network adapters

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In