From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 24 16:41:49 2007 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7573A16A417 for ; Wed, 24 Oct 2007 16:41:48 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from galain.elvandar.org (galain.elvandar.org [217.148.169.56]) by mx1.freebsd.org (Postfix) with ESMTP id 4826813C4AA for ; Wed, 24 Oct 2007 16:41:48 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from evilcoder.xs4all.nl ([195.64.94.120] helo=elvandar.local) by galain.elvandar.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1IkjIQ-000Iuf-16; Wed, 24 Oct 2007 18:41:30 +0200 Message-ID: <471F75BB.9020704@FreeBSD.org> Date: Wed, 24 Oct 2007 18:41:31 +0200 From: Remko Lodder User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: ECEG / Daniel Duerr References: <36782071-6FEE-469A-BA6E-26DCBA9ECBB4@emeraldcityeg.com> In-Reply-To: <36782071-6FEE-469A-BA6E-26DCBA9ECBB4@emeraldcityeg.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-bugs@FreeBSD.org Subject: Re: nfs mounting will hang a machine on bootup X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2007 16:41:49 -0000 ECEG / Daniel Duerr wrote: > Hi, > > Had a very strange issue this week with my Freebsd 6.2 server on a p7 > kernel compiled on Aug 5. Did a customary reboot on a machine which has > an NFS mount in its fstab. The machine didn't come back up, could not > be reached by SSH, but could be pinged. I drove 1.5 hours to the data > center where the machine resides and discovered that it was hanging > trying to mount the NFS share on the other machine -- looping through a > permission denied scenario and never continuing on with the bootup for > the entire 1.5 hours. > > I have two suggestions here, whether one, the other, or both make sense: > > 1) Move the sshd startup before the NFS mounting so that I can SSH into > the machine to fix this issue. > 2) If an NFS mount fails after X tries, just continue booting up and > allow the situation to be remedied later. > > I apologize in advance if I am missing some obvious parameter. For what > its worth, I followed the NFS setup described in the freebsd handbook on > freebsd.org > > Cheers, > Daniel Hello Daniel, Did you try background mounting the nfs share? If it fails for x times (dunno how many times), then the mounting goes in the background and the system continues to boot, periodically trying to mount the nfs share. Cheers remko -- Kind regards, Remko Lodder ** remko@elvandar.org FreeBSD ** remko@FreeBSD.org /* Quis custodiet ipsos custodes */