From owner-freebsd-hackers@FreeBSD.ORG Fri May 19 11:10:28 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE0EF16A426 for ; Fri, 19 May 2006 11:10:28 +0000 (UTC) (envelope-from babkin@verizon.net) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83A1F43D45 for ; Fri, 19 May 2006 11:10:28 +0000 (GMT) (envelope-from babkin@verizon.net) Received: from vms168.mailsrvcs.net ([192.168.1.1]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IZI00F93F1EW6I7@vms048.mailsrvcs.net> for freebsd-hackers@freebsd.org; Fri, 19 May 2006 06:10:26 -0500 (CDT) Date: Fri, 19 May 2006 06:10:25 -0500 (CDT) From: Sergey Babkin To: Steven Hartland , freebsd-hackers@freebsd.org Message-id: <18923565.8854391148037026048.JavaMail.root@vms168.mailsrvcs.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Mailman-Approved-At: Fri, 19 May 2006 11:30:44 +0000 Cc: Subject: Re: Re: NFS server not responding prevents boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: babkin@users.sf.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 11:10:30 -0000 >From: Steven Hartland >> 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