Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2006 06:10:25 -0500 (CDT)
From:      Sergey Babkin <babkin@verizon.net>
To:        Steven Hartland <killing@multiplay.co.uk>, freebsd-hackers@freebsd.org
Subject:   Re: Re: NFS server not responding prevents boot
Message-ID:  <18923565.8854391148037026048.JavaMail.root@vms168.mailsrvcs.net>

next in thread | raw e-mail | index | archive | help
>From: Steven Hartland <killing@multiplay.co.uk>

>> Anyway the big question is how can I change all our NFS
>> mounts so that failed mounts dont prevent the machines
>> booting to the point where they can be fixed remotely
>> i.e. have started sshd.
>
>Doh!! spent ages googling for the answer then found it
>in 2mins of looking through the man pages.
>
>The option for anyone interested is "bg" for -b from
>the command line to mount:
>[quote="man mount_nfs"]
>-b 
>If an initial attempt to contact the server fails, fork off a

I usually use "soft,bg". The "soft" option makes the
operations on this filesystem fail if the server
is not available instead of hanging (unkillable!)
forever and waiting for the server to come up.

-SB



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18923565.8854391148037026048.JavaMail.root>