Do you see the database created in /etc/iscsi ? If yes, does it have the right target details? Is there any information logged in dmesg?
On 02/28/2011 09:04 PM, Belug wrote: > 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 > > > -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention."
signature.asc
Description: OpenPGP digital signature

