The command line used first, this is working correctly :

 iscsiadm -m discovery -t sendtargets -p 192.168.XXX.XXX

result :

192.168.XXX.XXX:3260,1 iqn.1997-10.com.snapserver:<server-name>:iscsi0

----------------------------------------------

The second command line that doesn't work :

iscsiadm --mode node --targetname
iqn.1997-10.com.snapserver:<server-name>:iscsi0 --portal
192.168.XXX.XXX:3260 --login

The result :

Logging in to [iface: default, target:
iqn.1997-10.com.snapserver:ord007840:iscsi0, portal:
192.168.254.125,3260]
iscsiadm: Could not login to [iface: default, target:
iqn.1997-10.com.snapserver:ord007840:iscsi0, portal:
192.168.254.125,3260]:
iscsiadm: initiator reported error (15 - already exists)

----------------------------------------------

The command line used to check active sessions :

 iscsiadm -m session

The result :

iscsiadm: could not read session targetname: 5
iscsiadm: could not find session info for session1
iscsiadm: Can not get list of active sessions (5)

----------------------

the same thing is used on Debian Lenny with an older version of
open-scsi and it's working flawlessly.

Thanks!

Belug



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to