diff -aurp open-iscsi/etc/initd/initd.redhat open-iscsi.work/etc/initd/initd.redhat --- open-iscsi/etc/initd/initd.redhat 2006-05-30 01:51:42.000000000 -0500 +++ open-iscsi.work/etc/initd/initd.redhat 2006-05-30 03:57:03.000000000 -0500 @@ -37,7 +37,7 @@ start_iscsid() TARGETS=`$ISCSIADM -m node 2> /dev/null | sed 's@\[\(.*\)\] .*@\1@g'` for rec in $TARGETS do - STARTUP=`$ISCSIADM -m node -r $rec | grep "node.conn\[0\].startup" | cut -d' ' -f3` + STARTUP=`$ISCSIADM -m node -r $rec | grep "node.startup" | cut -d' ' -f3` if [ $STARTUP = "automatic" ] then $ISCSIADM -m node -r $rec -l diff -aurp open-iscsi/etc/iscsid.conf open-iscsi.work/etc/iscsid.conf --- open-iscsi/etc/iscsid.conf 2006-05-30 01:51:42.000000000 -0500 +++ open-iscsi.work/etc/iscsid.conf 2006-05-30 03:57:10.000000000 -0500 @@ -3,7 +3,7 @@ # Could be located at /etc/iscsid.conf or ~/.iscsid.conf # node.active_cnx = 1 -node.startup = manual +node.startup = automatic #node.session.auth.username = dima #node.session.auth.password = aloha node.session.timeo.replacement_timeout = 120 @@ -19,6 +19,7 @@ node.session.iscsi.MaxConnections = 0 node.conn[0].iscsi.HeaderDigest = None node.conn[0].iscsi.DataDigest = None node.conn[0].iscsi.MaxRecvDataSegmentLength = 65536 +node.conn[0].startup = automatic #discovery.sendtargets.auth.authmethod = CHAP #discovery.sendtargets.auth.username = dima #discovery.sendtargets.auth.password = aloha diff -aurp open-iscsi/README open-iscsi.work/README --- open-iscsi/README 2006-05-30 01:51:42.000000000 -0500 +++ open-iscsi.work/README 2006-05-30 03:57:03.000000000 -0500 @@ -353,7 +353,7 @@ node discovered in the discovery above: Or to set the "node.conn[0].statup" attribute to "startup" as default for all sessions add the following to the /etc/iscsid.conf: - node.conn[0].startup = automatic + node.startup = automatic To login to all the automated nodes, simply restart the iscsi service e.g /etc/init.d/open-iscsi restart