2011/10/4 Joey L <mjh2...@gmail.com>: > yes..on all counts - i have been trying different methods of > connecting - but same error. > It seems like it does not clean up past configurations and it is not > unloading drivers properly. > when i stop the service - i still see it in ps -aux ---regarding the > iscsi module/service. > I need to know the following as well as anything you can think of : > > 1. Is there anything you know how i can clean up past loads ?? > > 2. any debug mode you can think of on debian ?? > > 3. there is a major iscsi.conf file for info and then there is the > individual device file under the node directory -- which one is it > reading ???? which one should i modify ??? > > thanks > mjh > > > On Tue, Oct 4, 2011 at 11:39 AM, Juan Sierra Pons <j...@elsotanillo.net> > wrote: >> 2011/10/4 Joey L <mjh2...@gmail.com>: >>> sorry -- this is the error i get when i restart /etc/init.d/open-iscsi : >>> >>> Logging in to [iface: default, target: >>> iqn.1992-04.com.emc:storage.mjhstg.iscsi, portal: 10.168.2.57,3260] >>> iscsiadm: Could not login to [iface: default, target: >>> iqn.1992-04.com.emc:storage.mjhstg.iscsi, portal: 10.168.2.57,3260]: >>> iscsiadm: initiator reported error (15 - already exists) >>> iscsiadm: Could not log into all portals. Err 15. >>> >>> >>> On Tue, Oct 4, 2011 at 10:40 AM, Joey L <mjh2...@gmail.com> wrote: >>>> I am getting a strange error with the open-iscsi package on debian >>>> using nas StorCenter ix2-200 Network Storage. >>>> >>>> I think i setup the device correctly following this: >>>> iscsiadm -m node -T iqn.1992-04.com.emc:storage.xxxstg.iscsi -p >>>> 10.168.2.57 --op update -n node.session.auth.username -v admin >>>> iscsiadm -m node -T iqn.1992-04.com.emc:storage.xxxstg.iscsi -p >>>> 10.168.2.57 --op update -n node.session.auth.password -v adminadmin >>>> >>>> iscsiadm -m node -T iqn.1992-04.com.emc:storage.xxxstg.iscsi -p >>>> 10.168.2.57 --op update -n node.startup -v automatic >>>> >>>> >>>> iscsiadm -m discovery -t sendtargets -p 10.168.2.57:3260 >>>> 10.168.2.57:3260,1 iqn.1992-04.com.emc:storage.xxxstg.iscsi >>>> >>>> >>>> when i execute this command: >>>> iscsiadm -m node -T iqn.1992-04.com.emc:storage.xxxstg.iscsi -p >>>> 10.168.2.57 -l >>>> >>>> I get error: >>>> >>>> >>>> Oct 4 10:34:07 rider iscsid: iSCSI logger with pid=30766 started! >>>> Oct 4 10:34:07 rider iscsid: transport class version 2.0-870. iscsid >>>> version 2.0-871 >>>> Oct 4 10:34:07 rider iscsid: iSCSI daemon with pid=30767 started! >>>> Oct 4 10:34:08 rider iscsid: could not read session targetname: 5 >>>> Oct 4 10:34:08 rider iscsid: could not find session info for session1 >>>> Oct 4 10:34:08 rider iscsid: could not read session targetname: 5 >>>> Oct 4 10:34:08 rider iscsid: could not find session info for session1 >>>> Oct 4 10:34:08 rider iscsid: session >>>> [iqn.1992-04.com.emc:storage.mjhstg.iscsi,10.168.2.57,3260] already >>>> running. >>>> >>> >>> >>> -- >>> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org >>> with a subject of "unsubscribe". Trouble? Contact >>> listmas...@lists.debian.org >>> Archive: http://lists.debian.org/CAK3ER7soNbNChO >>> am-q_xlz8z2rwk9jeosxw4jt4jaj...@mail.gmail.com >>> >>> >> >> Hi >> >> This seems a authentication error for me: >> >> Logging in to [iface: default, target: >> iqn.1992-04.com.emc:storage.mjhstg.iscsi, portal: 10.168.2.57,3260] >> iscsiadm: Could not login to [iface: default, target: >> iqn.1992-04.com.emc:storage.mjhstg.iscsi, portal: 10.168.2.57,3260]: >> iscsiadm: initiator reported error (15 - already exists) >> iscsiadm: Could not log into all portals. Err 15. >> >> >> Are you sure the password is right in the configuration file? >> >> node.session.auth.username = user >> node.session.auth.password = password >> >> And the authentication method? Are you using the same in both sides >> initiator and target? >> >> node.session.auth.authmethod = CHAP >> >> Best regards >> >> Juan >> >> -------------------------------------------------------------------------------------- >> Juan Sierra Pons j...@elsotanillo.net >> Linux User Registered: #257202 http://www.elsotanillo.net >> GPG key = 0xA110F4FE >> Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE >> -------------------------------------------------------------------------------------- >> >> >> -- >> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org >> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org >> Archive: >> http://lists.debian.org/cabsy9vsduwz1+nb-vfoj1dpgsdwzulycuuiz0xx2-isg9n...@mail.gmail.com >> >> >
Hi again Maybe this link can help you [1] It seems a similar problem but not with login/password but wrong "FQDN in the iqn string" in the settings. I think this [2] is a very good tutorial. It helped me a lot with my first steps in iscsi world > 1. Is there anything you know how i can clean up past loads ?? I think complete reboot will do that, if this is not possible what about /etc/init.d/open-iscsi stop and killing all remaining iscsid processes > 2. any debug mode you can think of on debian ?? nop :( I have search in th /etc/iet directory for any verbosity option without luck :( grep iscsi /var/log/*|grep -v "/var/log/dpkg.log" |more Should provide you with enough info > > 3. there is a major iscsi.conf file for info and then there is the > individual device file under the node directory -- which one is it > reading ???? which one should i modify ??? I have only modified the /etc/iscsi/iscsid.conf file to enable iscsid's daemon automatic startup node.startup = automatic All my configuration files for each node are located in the following path: /etc/iscsi/nodes/ for example: /etc/iscsi/nodes/iqn.2011-08.vnet:storage.lun1/192.168.1.22,3260,1/default /etc/iscsi/nodes/iqn.2011-08.vnet:storage.lun2/192.168.1.22,3260,1/default /etc/iscsi/nodes/iqn.2011-08.vnet:storage.lun3/192.168.1.22,3260,1/default /etc/iscsi/nodes/iqn.2011-08.vnet:storage.lun4/192.168.1.22,3260,1/default [1] http://www.centos.org/modules/newbb//viewtopic.php?viewmode=flat&order=ASC&topic_id=24779&forum=37&move=next&topic_time=1266261083 [2] http://www.howtoforge.com/using-iscsi-on-debian-lenny-initiator-and-target I hope it helps Best regards -------------------------------------------------------------------------------------- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 http://www.elsotanillo.net GPG key = 0xA110F4FE Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE -------------------------------------------------------------------------------------- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CABS=y9veeanmj+u8_dngfpk6ffiinzct6mk8gfgafatcgg7...@mail.gmail.com