Hi,

I'm trying to figure out how to do discovery with authentication, without 
luck. I didn't manage to set up the credentials, tried various ways. Iscsiadm 
says:

iscsiadm -m discovery [ -hV ] [ -d debug_level ] [-P printlevel] [ -t type -p 
ip:port -I ifaceN ... [ -l ] ] | [ -p ip:port ] [ -o operation ] [ -n name ] [ 
-v value ]

Although:

$ sudo iscsiadm -m discovery -p myiscsistorage:3260 -o new -n \
    discovery.sendtargets.auth.username -v myusername
iscsiadm: discovery mode: option '-n' is not allowed/supported

It looks to me that the above syntax allows these options...

So could you tell me how to do this?

Another thing: when I want to delete a discovery record from the database, 
iscsiadm tells me

$ sudo iscsiadm -m discovery -o delete
iscsiadm: --record required for delete operation

However, I couldn't find --record anywhere in the man page. What is it 
supposed to be?

Thanks,
-- 
cc

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

Reply via email to