Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #199848 > unrolled thread

NFS mounts failing at boot (stretch)

Started byMatthew Pounsett <matt@conundrum.com>
First post2018-09-06 23:20 +0200
Last post2018-09-07 14:50 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  NFS mounts failing at boot (stretch) Matthew Pounsett <matt@conundrum.com> - 2018-09-06 23:20 +0200
    Re: NFS mounts failing at boot (stretch) Greg Wooledge <wooledg@eeg.ccf.org> - 2018-09-07 14:10 +0200
      Re: NFS mounts failing at boot (stretch) Matthew Pounsett <matt@conundrum.com> - 2018-09-07 14:50 +0200

#199848 — NFS mounts failing at boot (stretch)

FromMatthew Pounsett <matt@conundrum.com>
Date2018-09-06 23:20 +0200
SubjectNFS mounts failing at boot (stretch)
Message-ID<wv9R0-c6-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

I've got an NFS mount on a Debian 9 box which is failing to mount at boot
time, but mounts cleanly and quickly once the system is up and running.

I've added the _netdev option to fstab, which according to mount(8) should
cause the mount attempt to be delayed until the network is up, but that
doesn't seem to have helped.

192.168.1.36:/pool3   /data/pool3   nfs   _netdev,rw,nolock,nfsvers=3   0
 0

I've done some googling on the subject, and all the results I've found are
either assertions that _netdev should do the trick, or reports of it not
working.  The only case I've found of someone making it work is the
unacceptable workaround of adding the mount to /etc/rc.local.

Does anyone know if the _netdev option is actually expected to work in
Debian 9, and if not, what the proper way to set an NFS mount at boot
actually is?

Thanks.

[toc] | [next] | [standalone]


#199852

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2018-09-07 14:10 +0200
Message-ID<wvnKi-8tu-21@gated-at.bofh.it>
In reply to#199848
On Thu, Sep 06, 2018 at 05:15:49PM -0400, Matthew Pounsett wrote:
> I've got an NFS mount on a Debian 9 box which is failing to mount at boot
> time, but mounts cleanly and quickly once the system is up and running.

Make sure the interface is marked as "auto" rather than "allow-hotplug"
in the /etc/network/interfaces file.

[toc] | [prev] | [next] | [standalone]


#199853

FromMatthew Pounsett <matt@conundrum.com>
Date2018-09-07 14:50 +0200
Message-ID<wvomZ-eY-9@gated-at.bofh.it>
In reply to#199852

[Multipart message — attachments visible in raw view] — view raw

On 7 September 2018 at 08:07, Greg Wooledge <wooledg@eeg.ccf.org> wrote:

> On Thu, Sep 06, 2018 at 05:15:49PM -0400, Matthew Pounsett wrote:
> > I've got an NFS mount on a Debian 9 box which is failing to mount at boot
> > time, but mounts cleanly and quickly once the system is up and running.
>
> Make sure the interface is marked as "auto" rather than "allow-hotplug"
> in the /etc/network/interfaces file.
>

They were set as allow-hotplug .. I tested with a reboot, and that seems to
be it. Thanks!

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web