NFS mounts not being mounted at boot time.

Robert Heller heller at deepsoft.com
Sat Apr 9 20:13:04 UTC 2016


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

> 
> On Sat, Apr 09, 2016 at 05:22:06PM +0200, Tom H wrote:
> > On Sat, Apr 9, 2016 at 12:23 PM, Chris Green <cl at isbd.net> wrote:
> > > On Fri, Apr 08, 2016 at 09:09:15PM -0400, Robert Heller 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?
> > >
> > > Isn't there an option specifically for this case in the fstab?  The
> > > man page for fstab mentions 'nobootwait' which is probably what you
> > > want.  I think there may be an nfs option that applies too though.
> > 
> > You must mean "bootwait".
> > 
> No, surely in this case we want the boot to continue even if the
> remote NFS server isn't ready yet.  

The remote NFS server is very much ready (it is also the dhcp server, DNS
server, and router/firewall for the LAN). It is just that the network on the
desktop machine is is not configured yet. Appearently adding bootwait causes
mountall to 'wait' (in the brackground?) until the network is up. The boot
screen actually displays a message to that effect (the message vanishes after
a few 10s of seconds).

> 

-- 
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