Ignore this comment about the port issue. Not what you are hitting. On 10/13/2014 02:13 PM, Mike Christie wrote: > Another workaround, if possible on your setup, is to use port 3260. > Looks like there is a bug in the iscsiadm code when the port is not 3260. > > > > On 10/13/2014 02:12 PM, Mike Christie wrote: >> Ok. I am looking into it now. As a temp workaround you can do >> >> iscsiadm -m node -l >> >> or >> >> iscsiadm -m node -T yourtarget -l >> >> On 10/13/2014 12:45 PM, Moussa Ba wrote: >>> See commands below with output in bold. A discovery does generate a >>> portal. Note however, that the discovery is going over tcp not iser. I >>> follow the discovery with an update to the interface to change the >>> transport_name to iser followed by a login attempt. It is the login >>> attempt that returns a iscsiadm:No records found. >>> >>> >>> #iscsiadm -m iface -I iface0 --op=new >>> *New interface iface0 added* >>> #iscsiadm -m discovery -t st -p 192.168.111.100:3261 -I iface0 >>> *192.168.111.100:3261,1 >>> iqn.2003-01.org.linux-iscsi.localhost.x8664:sn.0fa6846566d9* >>> #iscsiadm -m iface -I iface0 -o update -n iface.transport_name -v iser >>> *iface0 updated.* >>> #iscsiadm -m node -T >>> iqn.2003-01.org.linux-iscsi.localhost.x8664:sn.0fa6846566d9 -I iface0 -p >>> 192.168.111.100:3261 -l >>> *iscsiadm: No records found* >>> * >>> * >>> >>> >>> On Saturday, October 11, 2014 4:26:06 PM UTC-7, Mike Christie wrote: >>> >>> >>> On Oct 10, 2014, at 5:06 PM, Moussa Ba <[email protected] >>> <javascript:>> 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 <http://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 >>> <http://192.168.111.100:3261> -I iface0 >>> > >>> > Output is: >>> > >>> > New interface iface0 added >>> > 192.168.111.100:3261 <http://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] >>> <mailto:[email protected]>. >>> To post to this group, send email to [email protected] >>> <mailto:[email protected]>. >>> Visit this group at http://groups.google.com/group/open-iscsi. >>> For more options, visit https://groups.google.com/d/optout. >> >
-- 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.
