NFS mount does not mount on boot

Bug #49137 reported by Dave Quinlan
This bug report is a duplicate of:  Bug #46516: NFSv4 mounts often missing after boot. Edit Remove
6
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
New
Undecided
Unassigned

Bug Description

An NFS mount that is specified in /etc/fstab does not mount on boot.

After boot:

dave@mazirian:~$ grep : /etc/fstab
# /etc/fstab: static file system information.
cerberos:/home/group /home/cerberos nfs ro,soft,intr,rsize=8192 0 0

dave@mazirian:~$ grep : /proc/mounts

dave@mazirian:~$ ls -l /home/cerberos
total 0

dave@mazirian:~$ sudo mount -a

dave@mazirian:~$ grep : /proc/mounts
cerberos:/home/group /home/cerberos nfs ro,v3,rsize=8192,wsize=32768,soft,intr,lock,proto=tcp,addr=cerberos 0 0

dave@mazirian:~$ ls -l /home/cerberos
total 16
drwxr-xr-x 4 dave dave 31 2006-05-15 23:45 games
-rw-r--r-- 1 root root 0 2006-05-13 23:26 -iname
drwxr-xr-x 268 dave root 8192 2006-06-06 20:18 music
drwxr-xr-x 34 dave root 4096 2006-06-07 01:42 video

During ten consecutive restarts, this problem manifested itself after each and every boot.

This does not appear to be a duplicate of Bug #46516 in sysvinit because there are no NFSv4 mounts and only one NFSv3 mount involved here.

Nor does it appear to be a duplicate of Bug #44836 in coreutils because no files are accessible within the mount before the "sudo mount -a" command is issued.

Revision history for this message
Carsten Raskgaard (carsten-raskgaard) wrote :

I can confirm that this is also a problem with nfsv2 mounts.

In 1 out of approx. 20-50 reboots I actually do get the nfs mounts from /etc/fstab mounted. When I eventually get a successful mount, nfs-locking is not always working.

Also, everything (including nfs-locking) worked fine before upgrading to 6.06.

Revision history for this message
Matt Zimmerman (mdz) wrote :

It is unlikely that bug #46516 is specific to the NFS version, and likely that this bug is a duplicate of that one.

Revision history for this message
Simon Law (sfllaw) wrote :

Thank you for reporting this bug. It is a duplicate of another bug in
the system. Please feel free to add any useful input to that bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.