On 05/07/2012 02:38 AM, Ulrich Windl wrote:
> Hi!
> 
> Assuming an iSCSI "node" is a path to an IET target, I wonder why "iscsiadm 
> -m node" cannot print any authentication information:
> # iscsiadm -m node -P1

That command only prints the targets/portals that are setup to be logged
into. If you want to see the settings we are going to use or negotiate
for including chap setting you run:

iscsiadm -m node -T
iqn.2012-05.klinik.dvm:f50b313f-2721-4c16-b293-c51c9163cf2e

or

iscsiadm -m node -T
iqn.2012-05.klinik.dvm:f50b313f-2721-4c16-b293-c51c9163cf2e -p
127.0.0.1:3260,1

If you wan to see what we actually negotiated for then run

iscsiadm -m session -P 2

[--show needs to be used for the commands above to force printing passwords]

Probably in the SLES kernel you are using we do not export the chap info
so that session command will not print it out. Also your iscsiadm
version is probably older.

-- 
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 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to