Re: Does iscsiadm support discovery through iSCSI interface using iSNS

2016-07-28 Thread Vimol Kshetrimayum
Thank you everyone for your reply. 

I found the issue was already discussed here 
https://groups.google.com/forum/#!topic/open-iscsi/y2ImQ7ZXBy8 .

The I realized, the iscsi util package shipped along with RHEL is outdated. 

The issue got resolved after compiling the latest code.

Regards,
-Vimol


On Tuesday, July 26, 2016 at 1:59:38 PM UTC-7, Vimol Kshetrimayum wrote:
>
> Hi,
>
>
> I am trying to discover targets using iSNS but through iSCSI interface.
>
>
> I could discover it through TCP using below command. 
>
> # iscsiadm -m discovery -t isns -p 
>
>
> However, if I tried to discover through iSCSI interface, it throws error. 
> Below is the command that I am using and its output error. 
>
>
> -
>
> # iscsiadm -m discoverydb -t isns -p 10.132.7.209 --discover -I 
> bnx2i.00:0e:1e:53:43:c1
>
>
> iscsiadm: iface bnx2i.00:0e:1e:53:43:c1 is not valid. Will not bind node 
> to it. Iface settings [hw=,ip=,net_if=,iscsi_if=bnx2i.00:0e:1e:53:43:c1]
>
> iscsiadm: No portals found
>
> - 
>
>
> Is there any way to discover target through iSCSI interface using iSNS?
>
>
> Regards,
>
> -Vimol
>
>
>
>

-- 
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 open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.


Re: Does iscsiadm support discovery through iSCSI interface using iSNS

2016-07-27 Thread Chris Leech
On Tue, Jul 26, 2016 at 01:59:38PM -0700, Vimol Kshetrimayum wrote:
> 
> 
> Hi,
> 
> 
> I am trying to discover targets using iSNS but through iSCSI interface.

We don't have any sort of iSNS offload support, so you can't really do
iSNS through an offload iface.  But I think this should work to do iSNS
discovery and bind the results to the offloaded iface.

> I could discover it through TCP using below command. 
> 
> # iscsiadm -m discovery -t isns -p 
> 
> 
> However, if I tried to discover through iSCSI interface, it throws error. 
> Below is the command that I am using and its output error. 
> 
> 
> -
> 
> # iscsiadm -m discoverydb -t isns -p 10.132.7.209 --discover -I 
> bnx2i.00:0e:1e:53:43:c1
> 
> 
> iscsiadm: iface bnx2i.00:0e:1e:53:43:c1 is not valid. Will not bind node to 
> it. Iface settings [hw=,ip=,net_if=,iscsi_if=bnx2i.00:0e:1e:53:43:c1]

Your iface record is invalid because it's not "default" and yet it's not
bound by MAC address (hw="") or netdev (net_if="").

What does the full iface record look like?  How was it created?

- Chris

-- 
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 open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.