Re: iscsiadm login issues?

2008-08-26 Thread Ben Lake
#sudo iscsiadm -m node -T ign.2002-07.com.archose:3t.r5.0 | grep node.startup node.startup = automatic Frak. It worked this time! #sudo /etc/init.d/open-iscsi stop * Disconnecting iSCSI targets ...done. * Stopping iSCSI initiator service ...done. #sudo /etc/init.d/open-iscsi start * St

Re: iscsiadm login issues?

2008-08-26 Thread Mike Christie
Ben Lake wrote: > #sudo iscsiadm -m node -L automatic > Login session [iface: default, target: ign.2002-07.com.archose:3t.r5.0, > portal: 10.0.0.11,3260] > > Distro: Ubuntu 8.04.01 > > init snippet > PATH=/sbin:/bin:/usr/sbin:/usr/bin > DAEMON=/usr/sbin/iscsid > ADM=/usr/bin/iscsiadm

Re: iscsiadm login issues?

2008-08-26 Thread Ben Lake
#sudo iscsiadm -m node -L automatic Login session [iface: default, target: ign.2002-07.com.archose:3t.r5.0, portal: 10.0.0.11,3260] Distro: Ubuntu 8.04.01 init snippet PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/iscsid ADM=/usr/bin/iscsiadm PIDFILE=/var/run/iscsid.pid ... s

Re: iscsiadm login issues?

2008-08-26 Thread Mike Christie
Mike Christie wrote: > What distro and init script are you running? > could you also do whereis iscsiadm --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to ope

Re: iscsiadm login issues?

2008-08-26 Thread Mike Christie
Ben Lake wrote: > How is using the discovery command automatic if I still need to specify > all the details for each target? All I said below is that you can run the command without having to set the startup and it will log in. And I meant it will log in when you run the command. Sorry for bad

Re: iscsiadm login issues?

2008-08-26 Thread Ben Lake
How is using the discovery command automatic if I still need to specify all the details for each target? Anyway, I'm primarily concerned with why, on startup, it does not login when the conf is set to automatic. It spits out the "no records found" message as if it spelled things wrong :) Anyth

Re: iscsiadm login issues?

2008-08-26 Thread Mike Christie
Ben Lake wrote: > Hah! Sometimes all it takes is another set of eyes. Score one for > obvious. Thanks Mike. > > As far as the automatic login, I did set it in the conf. Then I logged > out of the target and restarted the service. It said "Logging into > targets" or something similar and then s

Re: iscsiadm login issues?

2008-08-26 Thread Ben Lake
Hah! Sometimes all it takes is another set of eyes. Score one for obvious. Thanks Mike. As far as the automatic login, I did set it in the conf. Then I logged out of the target and restarted the service. It said "Logging into targets" or something similar and then spit out the "no records foun

Re: iscsiadm login issues?

2008-08-26 Thread Mike Christie
Ben Lake wrote: > Hello all, > > Before I ask anything I'd like to say thank you to all the devs. I > appreciate the existence of your project and your hard work! > > Now I've got a little situation which should hopefully be chalked up to > my newb status with open-iscsi. > > Per the snippet