Also, in my poking around, I discovered a debug mode : iscsiadm -m discovery -t st -b8 -p 192.168.0.10:3260
which fives the output : iscsiadm: Connection to Discovery Address 192.168.0.10 closed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 192.168.0.10 iscsiadm: disconnecting conn 0x226bde0, fd 3 iscsiadm: discovery session to 192.168.0.10:3260 sleeping for 1 seconds before next login attempt iscsiadm: connecting to 192.168.0.10:3260 iscsiadm: connected local port 43632 to 192.168.0.10:3260 iscsiadm: connected to discovery address 192.168.0.10 iscsiadm: discovery session to 192.168.0.10:3260 starting iSCSI login iscsiadm: sending login PDU with current stage 1, next stage 3, transit 0x80, isid 0x00023d000000 exp_statsn 0 iscsiadm: > InitiatorName=iqn.2005-03.org.open-iscsi:9b96ddaa68f4 iscsiadm: > InitiatorAlias=control iscsiadm: > SessionType=Discovery iscsiadm: > HeaderDigest=None iscsiadm: > DataDigest=None iscsiadm: > DefaultTime2Wait=2 iscsiadm: > DefaultTime2Retain=0 iscsiadm: > IFMarker=No iscsiadm: > OFMarker=No iscsiadm: > ErrorRecoveryLevel=0 iscsiadm: > MaxRecvDataSegmentLength=32768 iscsiadm: wrote 48 bytes of PDU header iscsiadm: wrote 252 bytes of PDU data iscsiadm: iscsi_login: Poll return 1 iscsiadm: Connection to Discovery Address 192.168.0.10 closed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 192.168.0.10 iscsiadm: connection login retries (reopen_max) 5 exceeded iscsiadm: disconnecting conn 0x226bde0, fd 3 iscsiadm: Could not perform SendTargets discovery: encountered iSCSI login failure Perhaps this is more helpful ? Thanks again ! On Fri, Mar 25, 2016 at 3:20 PM, Graham Welsh <[email protected]> wrote: > Well, I think we are making some headway. iscsiadm will now at least try > to discover the target. I get the following : > > root@control:/home/Administrator# iscsiadm -m discovery -t st -p > 192.168.0.10:3260 > iscsiadm: Connection to Discovery Address 192.168.0.10 closed > iscsiadm: Login I/O error, failed to receive a PDU > iscsiadm: connection login retries (reopen_max) 5 exceeded > iscsiadm: Could not perform SendTargets discovery: encountered iSCSI login > failure > > > I cut it down for brevity's sake. I tried eliminating the initiator > name/IP combo from the target script again just in case, but it makes no > difference. Same errors as above. Do I need to set CHAP for this to work ? > > Any more thoughts are appreciated ! > > On Fri, Mar 25, 2016 at 2:38 PM, Christian Seiler < > [email protected]> wrote: > >> Hi, >> >> On 03/25/2016 04:01 PM, Graham Welsh wrote: >> > ii open-iscsi 2.0.873-3.13.2014 amd64 High >> >> That version is not directly from Debian. Either it's based on a >> very old Debian package and modified - or they packaged open-iscsi >> themselves, independently of Debian (the Debian revision part of >> the version looks a bit like a date in US format). Can't give you >> any details about that version though... >> >> > I generated a new initiatorname and received the following : >> > >> > InitiatorName=iqn.2005-03.org.open-iscsi:9b96ddaa68f4 >> > >> > So, I tried again to connect and failed. I put the intitator name and IP >> > into the target again, reset tgtd, but no change : >> >> You need to restart iscsid before this change works. If your version >> is somewhat related to an older Debian package, do: >> >> service open-iscsi restart >> >> (Note: don't do this on Debian systems if there are iSCSI devices >> mounted. On newer Debian systems you can restart the 'iscsid' >> service instead, which won't affect mounted devices.) >> >> If it was packaged independently by your OS vendor instead, that >> may or may not be helpful. >> >> Regards, >> Christian >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "open-iscsi" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/open-iscsi/oG4ByBK6Y6w/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://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 https://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.
