NFS based /usr prevents normal startup due to slow net init

Dan Nelson dnelson at allantgroup.com
Fri Mar 2 17:14:49 UTC 2007


In the last episode (Mar 02), Steven Hartland said:
> Another observation from my recent dealings with using
> NFS based /usr is that the remote critical mounts via
> nfs dont always give the network enough time to
> initialise before running. The first error displayed
> is:
> Mounting NFS file systems:mount_nfs: nfs1: hostname nor servname provided, 
> or not known
> 
> This is particularly noticeable when the machine is
> connected to Cisco equipment as they take quite a
> while link to the connected host after initialisation.

That can usually be fixed by making sure you have portfast enabled on
the Cisco for any non-switch ports, btw.  Takes the port setup time
down from 30 seconds to under 5.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-hackers mailing list