I've read dozens tutorials and howtos but none of them helps me with the following problem. I have three machines:
- NAS server with iSCSI target on it which is registered in iSNS server.
- Solaris machine hosting iSNS server.
- Ubuntu machine acting as a client.
What I want to achieve is to use iSNS on machine 2 to perform discoveries, but that always fails with:
$ sudo iscsiadm -m discovery -t isns -p 172.26.252.78 iscsiadm: No portals found
But I've found that the discovery on the Solaris box doesn't work as well even if I did:
# iscsiadm modify discovery --iSNS enable # iscsiadm list discovery Discovery: Static: disabled Send Targets: enabled iSNS: enabled # iscsiadm list target -vS
According to all tutorials I saw that should work. The iSNS server contains as following:
# isnsadm list-node -v iSCSI Name: iqn.2014-04.test:foobar-s.foobar Alias: ashford Type: Target Network Entity: 3.63-15-8e-eb-97-0f Portal: 172.26.252.92:3260 Portal Group: 1 DD Name: Default iSCSI Name: iqn.1986-03.com.sun:01:00905ed502ff.533d983a Alias: openindiana Type: Initiator Network Entity: iqn.1986-03.com.sun:01:00905ed502ff.533d983a Portal: 0.0.0.0:48097 Portal Group: 1 DD Name: Default
I am open to any ideas how to make this stuff working (cooperating) together.