On Monday 07 February 2005 18:45, Benjamin Hornberger wrote:
Hi all,
I have a small network where one machine runs a DHCP and a name server. This machine is also supposed to NFS mount certain directories from other machines in the network. There are appropriate entries for that in /etc/fstab. When I boot the machine, it tries to mount the NFS directories before the name server is started, so it can't resolve the names for the NFS servers and fails. Once the machine is up and running, I can do /etc/init.d/nfs restart, which will work. However, I would like to avoid that extra step.
I am running 9.1 with a similar configuration and have no problem. Try the following : There is an option '_netdev' that you can specify in /etc/fstab which makes the mount process only try to mount the disc after the network is ready. (Type 'man mount' to see the details). Additionally, there is an option in /etc/fstab for nfs, 'bg' that makes the mount process go into the background and retry until successful. If this does not work, then try the 'noauto' option and manually mount the drives from a script after the boot process Regards Paul -- Paul Hewlett (Linux #359543) Email:`echo az.oc.evitcaten@ttelweh | rev` Tel: +27 21 852 8812 Cel: +27 72 719 2725 Fax: +27 86 672 0563 --