open-iscsi does not login into targets on boot
Posted
by
Creshal
on Server Fault
See other posts from Server Fault
or by Creshal
Published on 2011-03-12T12:51:41Z
Indexed on
2012/11/16
17:03 UTC
Read the original article
Hit count: 292
We have a Debian Lenny server with open-iscsi that's configured to log into a target automatically:
hostname:~# grep \\.startup /etc/iscsi/iscsid.conf
node.startup = automatic
hostname:~# grep \\.startup /etc/iscsi/nodes/iqn..../the.correct.ip.address\,port
node.startup = automatic
node.conn[0].startup = automatic
hostname:~#
If I issue a restart of open-iscsi via init.d, it works fine. But if I reboot the machine, iscsi starts, but does not even search for targets. I have to manually restart it before it works.
Any ideas how to make it find the target on boot?
© Server Fault or respective owner