On Oct 10, 2014, at 5:06 PM, Moussa Ba <[email protected]> wrote:

> I have a target running CentOS 7 with LIO.  I am using iser transport via 
> Mellanox Connect-X 3 VPI cards.  I have been having difficulties connecting 
> via an initiator running CentOS 7. My setup is essentially a one 
> target/LUN/PORT. 
> 
>  o- iscsi 
> ............................................................................................................
>  [Targets: 1]
>   | o- iqn.2003-01.org.linux-iscsi.localhost.x8664:sn.0fa6846566d9 
> ....................................................... [TPGs: 1]
>   |   o- tpg1 
> ..................................................................................................
>  [gen-acls, no-auth]
>   |     o- acls 
> ..........................................................................................................
>  [ACLs: 1]
>   |     | o- iqn.2003-01.org.linux-iscsi.localhost.x8664:sn.0fa6846566d9 
> .......................................... [Mapped LUNs: 1]
>   |     |   o- mapped_lun0 
> ............................................................. [lun0 
> block/vg-targetd:test_volume_02 (rw)]
>   |     o- luns 
> ..........................................................................................................
>  [LUNs: 1]
>   |     | o- lun0 ............................................... 
> [block/vg-targetd:test_volume_02 (/dev/vg-targetd/test_volume_02)]
>   |     o- portals 
> ....................................................................................................
>  [Portals: 1]
>   |       o- 192.168.111.100:3261 
> ...........................................................................................
>  [iser]
> 
> 
> Target Kernel: 3.16.3-1.el7.elrepo
> Initiator Kernel:3.16.3-1.el7.elrepo
> 
> iscsiadm: Compiled from git repository.  Latest commit
> 
> commit 76a441ba0dc0071a19daeac456aa898889437efd
> Author: Hannes Reinecke <.....>
> Date:   Fri Sep 12 14:42:01 2014 -0700
>     Added new util script to aid in CNA setup
>    
> 
> 
> Here is my flow:
> 
> iscsiadm -m iface -I iface0 --op=new
> iscsiadm -m iface -I iface0 -o update -n iface.transport_name -v iser
> iscsiadm -m discovery -t st -p 192.168.111.100:3261 -I iface0
> 
> Output is:
> 
> New interface iface0 added
> 192.168.111.100:3261,1 
> iqn.2003-01.org.linux-iscsi.localhost.x8664:sn.0fa6846566d9
> iface0 updated.
> iscsiadm: No records found
> 

The above is kinda hard to read, because I am not sure what output goes with 
what command.

Before you ran the discovery command did you have some portals discovered? When 
you ran the discovery command did it fail to find any portals? Is that what the 
last no records line is from?

Could you tar up /etc/iscsi and send it to me, so I can try running iscsiadm 
here and debug it.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to