On 03/17/2011 06:52 PM, John Layt wrote:
The first is if I use Yast to set-up an NFS mount in fstab then on start-up openSuse tries to connect to the NFS mount _before_ the network is started. Only after 4-5 minutes does mount.nfs timeout and shortly after NetworkManager starts up to make the connection. I find it hard to believe this is the correct behaviour and that no-one else seems to have hit this?
That's weird, it shouldn't happend. AFAIK, NFS volumes are supposed to be mounted later by the system. Anyway, a surefire workaround would be to use automount. This mounts them when they are accessed and unmounts them automatically after a while. This is an example configuration: 0. become root su - 1. Make a directory mkdir /mnt/automount 2. Add this to /etc/auto.master /mnt/automount /etc/auto.nfs 3. Create /etc/auto.nfs nfs -fstype=nfs server:/directory/that/you/export 4. start autofs /etc/init.d/autofs start 5. enable autofs to start at boot chkconfig --add autofs 6. see if it works ls /mnt/automount/nfs -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org