How to Mount NFS Automatically After Boot-Time?

David Marshall dmarshall at gmail.com
Tue Oct 11 01:41:17 PDT 2005


We have several servers that mount from an NFS server for a lot of
reading and writing.  We typically have this mount listed in
/etc/fstab.

If one of these servers reboots when the NFS server is offline, it
hangs in single-user mode until the NFS server comes back online.

We have tried usiing amd(8), but the sorts of traffic we have been
generating has been just a little too much for amd to handle. 
Occasionally it will become overwhelmed and will not work properly
until it (amd) is restarted.  So, it is back to a straight NFS mount.

How can we cause this NFS mount to be made after the system has
reached multi-user so that we can log in and perhaps mount from
another server?  (The servers are in a colo, so it's not easy to gain
physical access to the console to operate the machine in single-user.)

I've played with putting a mount command into /etc/rc.local, but I
don't know whether that would make us equally susceptible to a server
outage.

TIA!


More information about the freebsd-questions mailing list