[Pkg-sysvinit-devel] Bug#643651: Network filesystems not mounted at boot
Marc F. Clemente
marc at mclemente.net
Sun Jun 15 21:07:57 UTC 2014
This is still happening to me. Basically, the /etc/network/if-up.d/mountnfs script is being called before the interface is really up. Or maybe the interface is up, but the IPv6 autoconf did not finish yet. I don’t know...
Specifically, I switched from ipv4 to ipv6 on a computer that was an nfs client and mounted the nfs shares at boot time. Here’s my setup:
cat /etc/network/interfaces
auto wlan0
iface wlan0 inet6 auto
up sh -c 'until ping6 -c 1 nfs_server.example.com ; do sleep 1 ; done'
In general, it goes through three loops (3 seconds) before it succeeds. Then the boot process continues and the NFS shares mount fine.
ASYNCMOUNTNFS=no did not work for me.
Marc
More information about the Pkg-sysvinit-devel
mailing list