Ubuntu 8.10: NFS no longer mounting

From FVue
Jump to: navigation, search

Problem

After upgrading from Ubuntu-8.04 to Ubuntu-8.10, the NFS mount is no longer automatically mounted at startup.

Environment

  • Ubuntu 8.10
  • /etc/fstab contains this line: xxx.xxx.xxx.xxx:/home/foo/proj /mnt/proj nfs rw,hard,intr 0 0

Solution

Look if interfaces are blocking the NFS mount, by giving this command right after boot - with nfs unmounted:

$ sudo /etc/network/if-up.d/mountnfs

For each result line looking like this:

* if-up.d/mountnfs[]: waiting for interface xxx before doing NFS mounts

comment the corresponding interface from the file: /etc/network/interfaces. The NFS mount should now automatically be mounted after a reboot.

Workaround

Manually do:

$ sudo mount -a

Journal

20090116

Upgrade to 8.10, NFS no longer mounting - Page 2 - Ubuntu Forums
Same question on Ubuntu forum, with solution from `wgrant'

Doing a `mountnfs' right after boot - with nfs unmounted:

$ sudo /etc/network/if-up.d/mountnfs
 * if-up.d/mountnfs[]: waiting for interface eth1 before doing NFS mounts
 * if-up.d/mountnfs[]: waiting for interface eth2 before doing NFS mounts
 * if-up.d/mountnfs[]: waiting for interface ath0 before doing NFS mounts
 * if-up.d/mountnfs[]: waiting for interface wlan0 before doing NFS mounts

Comments

blog comments powered by Disqus