Does iscsiadm support discovery through iSCSI interface using iSNS

22 views
Skip to first unread message

Vimol Kshetrimayum

unread,
Jul 26, 2016, 4:59:38 PM7/26/16
to open-iscsi

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 <iSNS server address>


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



The Lee-Man

unread,
Jul 27, 2016, 4:46:28 PM7/27/16
to open-iscsi
What does your ifaces/bnx2i.00:0e:1e:53:43:c1 file contain?

Chris Leech

unread,
Jul 27, 2016, 5:12:48 PM7/27/16
to open-...@googlegroups.com, kvi...@gmail.com
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 <iSNS server address>
>
>
> 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

Vimol Kshetrimayum

unread,
Jul 28, 2016, 2:39:41 AM7/28/16
to open-iscsi
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:
Reply all
Reply to author
Forward
0 new messages