NFS mounts not being mounted at boot time.

Robert Heller heller at deepsoft.com
Sat Apr 9 15:41:22 UTC 2016


At Sat, 9 Apr 2016 17:18:56 +0200 "Ubuntu user technical support,  not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

> 
> On Sat, Apr 9, 2016 at 3:09 AM, Robert Heller <heller at deepsoft.com> wrote:
> >
> > I am having trouble with a Ubuntu 14.04 system that is not mounting NFS files
> > systems at boot time. I have installed nfs-common and have entries in
> > /etc/fstab for the mounts. I noticed that Ubuntu does not have a startup
> > script to mount NFS disks (the way the RedHat machines I am used to do), since
> > it is not possible to mount NFS filesystems when one mounts local system
> > filesystems, since the network is not up yet. On all of the RedHat systems
> > there is an init script that runs later that mounts NFS file systems (and also
> > fires up nfslock if needed). This seems to be missing on Ubuntu (unless I am
> > missing something). What am I missing?
> 
> fstab nfs mounts are mounted by mountall, triggered by
> "/etc/init/mountall-net.conf".
> 
> Adding _netdev to your nfs fstab mounts might help but it shouldn't.
> 
> Can you mount your nfs fstab mounts manually?

Yes.  I added 'bootwait' to the options and that cured the problem.  Ubuntu 
does not handle NFS file systems at all the way RedHat/CentOS does -- 
RedHat/CentOS mounts NFS file systems with a separate init script, that is run 
sometime *after* the network is started.

> 

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
 



More information about the ubuntu-users mailing list