On 10/13/2014 03:49 PM, Moussa Ba wrote:
> I am confused....Is there new code for me to try?  Trying to do a

No.

> discovery after updating the interface using iser results in a :
> *iscsiadm: Connection to discovery portal 192.168.111.100 failed:
> encountered connection failure*

The way I told you to do it, is normally how it is done. Either that or
you use the iscsi_discovery script which sets the node's transport_name
manually.

Does the discovery error happen with the upstream tools or the one
shipped with Centos 7?

> 
> That was the reason why I switched it around where I change the
> interface to iser after doing a discovery via tcp which works and a
> login after updating interface to iser.
> 
> I am still using git code at commit
> 
> commit 76a441ba0dc0071a19daeac456aa898889437efd
> Author: Hannes Reinecke <[email protected]>
> Date:   Fri Sep 12 14:42:01 2014 -0700
> 
> 
> Moussa
> 
> On Monday, October 13, 2014 12:50:24 PM UTC-7, Mike Christie wrote:
> 
>     On 10/13/2014 02:44 PM, Mike Christie wrote:
>     > On 10/13/2014 12:45 PM, Moussa Ba wrote:
>     >> #iscsiadm -m iface -I iface0 --op=new
>     >> *New interface iface0 added*
>     >> #iscsiadm -m discovery -t st -p 192.168.111.100:3261
>     <http://192.168.111.100:3261> -I iface0
>     >> *192.168.111.100:3261 <http://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 <http://192.168.111.100:3261> -l
>     >> *iscsiadm: No records found*
>     >> *
>     >
>     > I added a fix for this in git. If you wanted to use the tools that
>     code
> 
>     Actually, it had a bug. Reverted it.
> 
>     > with Centos 7 just use the default iser iface.
>     >
>     > Just do:
>     >
>     > iscsiadm -m discovery -t st -p  192.168.111.100:3261
>     <http://192.168.111.100:3261> -I iser
>     > iscsiadm -m node -T your_target -p ip -I iser -l
>     >
> 
>     Also you can just do:
> 
>     #iscsiadm -m iface -I iface0 --op=new
>     #iscsiadm -m iface -I iface0 -o update -n iface.transport_name -v iser
> 
>     Then do discovery and login:
> 
>     #iscsiadm -m discovery -t st -p 192.168.111.100:3261
>     <http://192.168.111.100:3261> -I iface0
>     #iscsiadm -m node -T
>     iqn.2003-01.org.linux-iscsi.localhost.x8664:sn.0fa6846566d9 -I
>     iface0 -p
>     192.168.111.100:3261 <http://192.168.111.100:3261> -l
> 
> -- 
> 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.

Reply via email to