> -----Original Message-----
> From: Mike Christie [mailto:[email protected]]
> Sent: Tuesday, August 03, 2010 3:06 PM
> To: [email protected]
> Cc: Jansen, Frank
> Subject: Re: Using multiple ports question
> 
> On 08/02/2010 02:42 PM, Jansen, Frank wrote:
> > Hi,
> >
> >
> >
> > (Sorry about the incomplete message due to my fat fingers)
> >
> >
> >
> > I've searched through archives and lots of places, but have had no
> > success in finding the answer to the following conundrum:
> >
> >
> >
> > - I set up 2 scsi targets using tgtd provided in scsi-target-utils
> and
> > put them on separate control-ports, so that I can keep backing-store
> > organized.  The two instances of tgtd are listening on ports 3260
and
> > 3261 resp.  There are 4 LUNs on each target, which show up as being
> > ready.
> >
> > - when I do discovery on the initiator node, I succeed in performing
> the
> > discovery on the portal with port 3260, and logins succeed.
> Discovery
> > on the port 3261 portal appears to succeed, but when I try logins
> they
> > fail with the following:
> >
> >
> >
> > Logging in to [iface: default, target:
> > iqn.2001-04.com.crossbeamsys:dut.target2, portal: 10.10.10.201,3261]
> >
> > iscsiadm: Could not login to [iface: default, target:
> > iqn.2001-04.com.crossbeamsys:dut.target2, portal:
10.10.10.201,3261]:
> >
> > iscsiadm: initiator reported error (4 - encountered connection
> failure)
> >
> 
> What version of open-iscsi are you using? There was a bug there the
non
> default port would not get logged into in some test/rc releases.
> 
> Also check out /var/log/messages for messages from iscsid. Something
> about a connection failing to connect. Send the log.
> 
Thank you.  I am running 2.0-870 on RHEL6 beta (2.6.32-19.el6.x86_64).
The errors in /var/log/messages were the following:

Aug  2 13:54:21 dpdk iscsid: cannot make a connection to
10.10.10.201:3261 (-1,13)
Aug  2 13:57:52 dpdk iscsid: cannot make a connection to
10.10.10.201:3261 (-1,13)
Aug  2 13:58:16 dpdk iscsid: cannot make a connection to
10.10.10.201:3261 (-1,13)
Aug  2 13:58:47 dpdk iscsid: cannot make a connection to
10.10.10.201:3261 (-1,13)
Aug  2 13:58:55 dpdk iscsid: cannot make a connection to
10.10.10.201:3261 (-1,13)
Aug  2 14:01:44 dpdk iscsid: cannot make a connection to
10.10.10.201:3261 (-1,13)

When I looked at the target side at the same time, I see

> >
> >
> > netstat -an shows the listeners
> >
> >
> >
> > [r...@dut var]# netstat -an|grep 326
> >
> > tcp        0      0 10.10.10.201:3260           0.0.0.0:*
> > LISTEN
> >
> > tcp        0      0 10.10.10.201:3261           0.0.0.0:*
> > LISTEN
> >
> > tcp        0      0 10.10.10.201:3260           10.10.10.200:40415
> > ESTABLISHED
> >
> >
> >
> > Any thoughts on what I am missing here?
> >
> >
> >
> > Thanks,
> >
> > Frank
> >

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to