Re: [opensuse] Problems after 11.4 install



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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: help: df slow
    ... How can I check the network? ... I try to ping but doesn't get any packet loss ... |> I have more than 10 nfs mount folder in the ... The US government can't make a penny for a penny. ...
    (Fedora)
  • One good thing at least about 10.5s Finder
    ... Why give up such a high draft pick for this seemingly obscure technology ... Because AutoFS in OS X 10.5 is, quite simply, ... network shares, and in Leopard, it will uses separate .threads. ... the Finder, only to remember that you put the shared computer to sleep ...
    (uk.comp.sys.mac)
  • [opensuse] NFS idmapping daemon, autofs problem
    ... I connect to my SLES 10 SP2 box with NFSv4 and autofs. ... I've not tried putting my NFS mount options in fstab because I've had ... But I can verify idmapd isn't starting. ...
    (SuSE)
  • Re: 10.2.0.3 RAC Eviction
    ... of network heart beats. ... Since you are talking about Etherchannel (sounds a bit like a Cisco switch), ... There are no cluster related files on the nfs mount. ...
    (comp.databases.oracle.server)
  • Re: NFS problems
    ... > NFS mount up when my network goes down. ... > It seems every processes get stuck in ufs or nfs ...
    (freebsd-current)