NFS mounts not being mounted at boot time.

Tom H tomh0665 at gmail.com
Sat Apr 9 16:35:14 UTC 2016


On Sat, Apr 9, 2016 at 5:41 PM, Robert Heller <heller at deepsoft.com> wrote:
> 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.

Good.


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

Why should it work like RHEL?

Whether I'm using RHEL or Ubuntu, I use "_netdev" for fstab nfs mounts.




More information about the ubuntu-users mailing list