Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2007 10:12:34 -0700
From:      ECEG / Daniel Duerr <dd@emeraldcityeg.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   nfs mounting will hang a machine on bootup
Message-ID:  <36782071-6FEE-469A-BA6E-26DCBA9ECBB4@emeraldcityeg.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36782071-6FEE-469A-BA6E-26DCBA9ECBB4>