Maysara wrote:
> Hello,
> 
> I'm usinsg iscsiadm from iscsi-initiator-utils version
> 6.2.0.865-0.8.el5, and i also tried opne-iscsi 2.0.730-1etch1in a line
> like this:
> 
> iscsiadm -m discovery -t sendtargets -p iscsi-storage| cut -f2 -d\ |
> xargs -l -I '{}' iscsiadm -m node -T {} -p iscsi-storage -l
> 
> where iscsi-storage is defined in /etc/hosts , it fails to find iscsi-
> storage in the node mode, but works fine in the discovery mode, if i
> change iscsi-storage to the ip of the target in the node mode, it
> works fine ... i suppose this is a bug ! no ?

iscsiadm takes the values that are returned from discovery. It does not 
do any hostname resolution. So if the target gives us a ip address 
during discovery you have to pass iscsiadm -m node ... -l a ip address. 
If the target gives us hostnames then you have to use the hostnames it 
gave us.

--~--~---------~--~----~------------~-------~--~----~
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