Hi, currently it's not exactly fun to have iscsi devices in /etc/fstab as they can't be mounted at boot time for several reasons.
For local use I've changed some things in the open-iscsi package to make it work, maybe you can use this as starting point. First of all, it's necessary to start the init script earlier and stop it later (start after network before all other services, stop just before network). For this I've added this to debian/rules: > dh_installinit --update-rcd-params="start 41 S . stop 21 0 6 ." > --no-restart-on-upgrade This also prevents open-iscsi to be reloaded on upgrades which will remove the devices but not umount the partitions (which might as well not work anyway)... causing possible data loss. As dpkg doesn't remove the /etc/rc*.d links for the old package these have to be removed in the preinst script: > for l in 0 1 6; do > if [ -L /etc/rc$l.d/K20open-iscsi ] && [ "../init.d/open-iscsi" > = "$(readlink /etc/rc$l.d/K20open-iscsi)" ]; then > rm -vf /etc/rc$l.d/K20open-iscsi >&2 > fi > done > for l in 2 3 4 5; do > if [ -L /etc/rc$l.d/S20open-iscsi ] && [ "../init.d/open-iscsi" > = "$(readlink /etc/rc$l.d/S20open-iscsi)" ]; then > rm -vf /etc/rc$l.d/S20open-iscsi >&2 > fi > done Then most important (and I still don't have a perfect solution yet) is the actual mounting. mountnfs.sh only mounts several different network filesystems but not all lines with _netdev in the options column. I've changed that script locally to do just that (we can't rely on the if-up hook to mount _netdev mounts as we can start the open-iscsi stuff after network is already up only). Would be nice if you could either add some mounting magic to the open-iscsi init script (maybe mount mounts with the iscsi option or something) or convince the maintainer of the mountnfs.sh init script to change the behaviour there. If you do the first be aware that you have to wait some time after the open-iscsi stuff is started until the device is finally there. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

