From owner-freebsd-questions@FreeBSD.ORG Fri Oct 12 15:53:17 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD44916A41B for ; Fri, 12 Oct 2007 15:53:17 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailwasher.lanl.gov (mailwasher.lanl.gov [204.121.3.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8E86E13C442 for ; Fri, 12 Oct 2007 15:53:17 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailwasher.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l9CFg7QC020951; Fri, 12 Oct 2007 09:42:07 -0600 Received: from oppie-mail.lanl.gov (oppie-mail.lanl.gov [128.165.4.123]) by mailrelay2.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l9CFg6TT020860; Fri, 12 Oct 2007 09:42:06 -0600 Received: from [128.165.86.10] (secretariat.lanl.gov [128.165.86.10]) by oppie-mail.lanl.gov (Postfix) with ESMTP id 6081C1F8002; Fri, 12 Oct 2007 09:42:01 -0600 (MDT) From: James To: Michael Smith In-Reply-To: <2BBC6552-76B0-4D22-9F68-BEC9E46C0FFB@adhost.com> References: <2BBC6552-76B0-4D22-9F68-BEC9E46C0FFB@adhost.com> Organization: Los Alamos National Laboratories Date: Fri, 12 Oct 2007 09:42:38 -0600 Message-Id: <1192203758.33933.69.camel@secretariat.lanl.gov> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: jamesh@lanl.gov X-Spam-Status: No Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: Questions about HUP'ing nfsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jamesh@lanl.gov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2007 15:53:17 -0000 On Fri, 2007-10-12 at 08:25 -0700, Michael Smith wrote: > Hello All: > > We have a NAS that's running 6.2 with nfds, mountd, rpc_statd, > rpcbind and rpc_lockd. Last night we had a scenario where nfs > clients, once disconnected, couldn't reconnect to the NAS, reporting > RPC timeouts. > I've had RPC timeouts before. Turned out my NFS was misconfigured - I had a weird flag in /etc/rc.conf that was preventing mountd from loading. Could be someone made an undocumented change - you may want to check it. > My question is, in troubleshooting this sort of thing, is there a > proper sequence for stopping and restarting the various services > associated with nfs? Any hints would be greatly appreciated. > Linux usually likes an exportfs -r, service portmap restart, service nfs restart. I've usually gone for a similar thing in FreeBSD. Something like: /etc/rc.d/mountd onereload /etc/rc.d/nfs restart I think that does it all. Otherwise, there's always shutdown NOW and then a ctrl-d. If you're not sshing in, of course. James