From owner-freebsd-stable@FreeBSD.ORG Thu Dec 15 09:43:40 2005 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7ABDB16A41F for ; Thu, 15 Dec 2005 09:43:40 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 832F243D4C for ; Thu, 15 Dec 2005 09:43:39 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (jqdovs@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id jBF9hbok049586 for ; Thu, 15 Dec 2005 10:43:37 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id jBF9habb049585; Thu, 15 Dec 2005 10:43:36 +0100 (CET) (envelope-from olli) Date: Thu, 15 Dec 2005 10:43:36 +0100 (CET) Message-Id: <200512150943.jBF9habb049585@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG In-Reply-To: X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.11-STABLE (i386)) Cc: Subject: Re: mountd fails intermittently X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2005 09:43:40 -0000 Michael Sperber wrote: > Oliver Fromme writes: > > That looks like your rpcbind(8) process died. Can you > > check that with ps? Also, are there any warnings or > > errors reported in /var/log/messages? > > No, it's still running. It shows up in rpcinfo (as does nfsd), But mountd does not show up there? > and rpcbind itself also replies to pings. In fact, I can usually > temporarily fix the problem by killing and restarting mountd. (Not > long enough to bring up my clients, though.) (kill -HUP doesn't help, > btw.) Moreover, the one client I have that's managed to mount, works. So it's a failure in mountd. Personally I've never seen such a problem before, even though I'm also running NFS servers under FreeBSD 6 (-release and -stable). Now the one question is: What are the circumstances under which the problem can be reproduced? :-) Of course I'm aware that that's probably a tough question. There are a few possibilities to try to track the problem down. 1. First of all, it might be helpful to see the contents of your /etc/exports. To be honest, I don't think that it is causing the problem, but you never know. 2. Does your mountd log anything to /var/log/messages? 3. What flags are you using with rpcbind and mountd, if any? What flags are you using with the mount command line (i.e. anything unusual)? 4. Please post the output from these commands (preferably before failure and after failure, if possible): # rpcinfo # sockstat | egrep "mountd|rpc" 5. If all else fails, maybe tracing the mountd process during a failing mount attempt might be helpful. Personally I prefer strace (from the ports collection) for the more useful output, but you can also use ktrace which is in the base system. Best regards Oliver PS: If you're sure it's a bug (and not PEBKAC), it might be a good idea to submit a PR containing the information collected so far. -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "If you think C++ is not overly complicated, just what is a protected abstract virtual base pure virtual private destructor, and when was the last time you needed one?" -- Tom Cargil, C++ Journal