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 -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*
>> *
> 
> 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 -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 -I iface0
#iscsiadm -m node -T
iqn.2003-01.org.linux-iscsi.localhost.x8664:sn.0fa6846566d9 -I iface0 -p
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].
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