I think you are hitting a different issue. Could you include your
/var/log/messages, so I can see if iscsid is throwing errors in there?
>
> *TL;DR : *
> iscsiadm -m node -T iqn.1992-04.com.emc:cx.ckm00094900174.a2 -l
Could you set
node.session.initial_login_retry_max = 1
in /etc/iscsi/iscsid.conf? Set that then rerun the discovery command. It
will speed up failures so we do not have to wait a long time while testing.
> ...
> ...
> -> sleeping there until I ctrl-c interrupt it.
> The only error msg I get is on the console :
> iscsi: invalid session 0
> Specifying the SAN ip does not improve anything.
>
> *Long version :*
>
> We have a Dell PE R610 in 64bits with 4 NICs :
> - em1 + em2 are bonded and dedicated to the management on a specific VLAN
> - em3 and em4 are not bonded, and dedicated to the iSCSI specific VLAN
>
> ping -I from em3 and em4 towards our EMC Cx4-120 SAN is working, towards
> its two different IPs.
> And the ping from the SAN is also working.
>
> In /etc/sysctl.conf, I have :
> net.ipv4.conf.em3.arp_ignore = 1
> net.ipv4.conf.em4.arp_ignore = 1
> net.ipv4.conf.em3.arp_announce = 2
> net.ipv4.conf.em4.arp_announce = 2
> net.ipv4.conf.em3.rp_filter = 0
> net.ipv4.conf.em4.rp_filter = 0
>
> iptables and selinux are off.
>
> LSB Version:
> :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
>
> Distributor ID: OracleServer
> Description: Oracle Linux Server release 6.6
>
> The discovery sounds good :
> root@serv3:/var/lib/iscsi# iscsiadm -m discovery -p 192.168.29.1 -t st -I
> default
>
192.168.29.1:3260,1 iqn.1992-04.com.emc:cx.ckm00094900174.a2
>
192.168.29.2:3260,2 iqn.1992-04.com.emc:cx.ckm00094900174.b2
em3 and em4 on the same subnet, right?
Is em1/em2 on the same subnet as em3 and em4?
>
> The 2 NICs are NetXtreme II BCM5709 Gigabit Ethernet. They support
> offloading, but I'm not comfortable enough with that yet to play with it.
> So at present, I'd prefer just use a classical tcp transport.
>
> Iface scanning sounds good too :
> root@serv3:/var/lib/iscsi# iscsiadm -m iface
> default tcp,<empty>,<empty>,<empty>,<empty>
> iser iser,<empty>,<empty>,<empty>,<empty>
> bnx2i.f0:4d:a2:07:59:91 bnx2i,f0:4d:a2:07:59:91,<empty>,<empty>,<empty>
> bnx2i.00:00:00:00:00:00 bnx2i,00:00:00:00:00:00,<empty>,<empty>,<empty>
> bnx2i.f0:4d:a2:07:59:95 bnx2i,f0:4d:a2:07:59:95,<empty>,<empty>,<empty>
> bnx2i.f0:4d:a2:07:59:93 bnx2i,f0:4d:a2:07:59:93,<empty>,<empty>,<empty>
>
> Other informations :
> root@serv3:/var/lib/iscsi# rpm -qa|grep -i iscsi
> iscsi-initiator-utils-6.2.0.873-2.0.2.el6.i686
> root@serv3:/var/lib/iscsi# iscsiuio -v
> iscsiuio: Version '0.7.6.1', Build Date: 'Wed May 29 14:08:11 PDT 2013'
> root@serv3:/var/lib/iscsi# uname -a
> Linux serv3 3.8.13-55.1.5.el6uek.x86_64 #2 SMP Wed Jan 28 17:03:28 PST 2015
> x86_64 x86_64 x86_64 GNU/Linux
>
> I tried to disable em4, reboot, and try a connection from a single NIC
> (em3), but that did nothing better.
Could you take a tcpdump/wireshark trace when you run this experiment?
Also, include the /var/log/messages.
>
> I don't know if the fact that these NICs support offloading may disturb the
> simplest tcp transport way of connecting?
It should not be a issue. I can use either here.