NFS based /usr prevents normal startup due to slow net init
Dag-Erling Smørgrav
des at des.no
Thu Mar 8 07:26:02 UTC 2007
Mike Meyer <mwm at mired.org> writes:
> Dag-Erling Smørgrav <des at des.no> writes:
> > Mike Meyer <mwm-keyword-freebsdhackers2.e313df at mired.org> writes:
> > > How about an extra flag in your fstab? The default behavior for
> > > mount_nfs is to keep retrying until the mount succeeds.
> > No, it will fail immediately (as seen above) if it can't resolve the
> > server name. The only way to fix this is to modify mount_nfs to sleep
> > and retry in such cases. The *current* sleep-and-retry code is in the
> > NFS mount code in the kernel, which doesn't come into play until after
> > DNS lookup.
> In that case, there's a bug in the mount_nfs man page, which just says
> that it keeps retrying until it succeeds. PR #110062
Technically, that's correct if you specify the server by IP address or
have it listed in /etc/hosts... but I guess the man page could be
clearer.
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-hackers
mailing list