Bug#792030: systemd does not reliably mount nfs shares

Michael Biebl biebl at debian.org
Wed Mar 15 21:15:54 GMT 2017


Am 15.03.2017 um 16:00 schrieb Athanasius:
>   The other issue is that my two NFS mounts from my server (still on
> jessie) were failing at boot-time.  After I fixed the /proc/bus/usb
> issue (by commenting that line out) the next boot had my NFS mounts work
> OK.  But today they've failed again.
> 
> The two lines in /etc/fstab are:
> 
> 192.168.1.1:/home/users                 /home/users         nfs     defaults,soft,intr,timeo=50,retrans=6,fg,nfsvers=3,nosuid,nodev,nofail 0 0
> 192.168.1.1:/mnt/tuesday/data0                 /mnt/tuesday/data0         nfs     defaults,soft,intr,timeo=50,retrans=6,fg,nfsvers=3,nosuid,nodev,nofail 0 0
> 
> and these always worked 100% on jessie by the time I'd typed in my
> password.  In stretch, due to /home/users not being properly mounted I
> could not complete a login.
> 

> # The primary network interface
> allow-hotplug eth0

Use "auto eth0", that should work better in a case like yours.

NFS mounts rely on network-online.target being hooked up properly. For
allow-hotplug interfaces this is not guaranteed.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170315/3457d20f/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list