>> [EMAIL PROTECTED] ~]# iscsiadm -m node --portal sw01 --login
>> iscsiadm: no records found!

>> It works fine after I use the IP address instead of the hostname

>> [EMAIL PROTECTED] ~]# iscsiadm -m node --portal --login
>> Logging in to [iface: default, target: iqn.2004-05.com.faker.sw01,
>> portal:,3260]
>> Login to [iface: default, target: iqn.2004-05.com.faker.sw01, portal:
>>,3260]: successful

>> It's easily reproducible

On Tue, Oct 21, 2008 at 12:28 PM, Mark Chaney <[EMAIL PROTECTED]> wrote:
> Maybe im missing something, but where does it say that hostnames are
> supported?

Yes, if I look at the code, then it does resolve hostnames at various
points during discovery and login, hence I think that this is a bug.
What I think is that even if we specify a hostname, whilst discovery,
an IP address format file is created in
/etc/iscsi/node/<target-name>/<ip-address>,<port> and
/etc/iscsi/send_targets/<ip-address>,<port> hence during login, we
cant specify the hostname as it directly reads from this directory.

Many Thanks,

You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi

Reply via email to