From owner-freebsd-questions@FreeBSD.ORG Thu May 3 14:55:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD7BE16A401 for ; Thu, 3 May 2007 14:55:35 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.freebsd.org (Postfix) with ESMTP id A0AF713C468 for ; Thu, 3 May 2007 14:55:35 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 051485C25; Thu, 3 May 2007 10:55:35 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wTuRd9-5+fT1; Thu, 3 May 2007 10:55:33 -0400 (EDT) Received: from [192.168.1.3] (pool-96-224-43-99.nycmny.east.verizon.net [96.224.43.99]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id EFC9B5C75; Thu, 3 May 2007 10:55:32 -0400 (EDT) Message-ID: <4639F7E1.3010102@mac.com> Date: Thu, 03 May 2007 10:55:29 -0400 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Janos Dohanics References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: NFS server not responding/is alive again X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 14:55:35 -0000 Hi-- Janos Dohanics wrote: > I have a FreeBSD 4.11 machine which mounts a volume from a Netapp ONTap. > The FreeBSD machine also acts as a Samba PDC. The Samba volumes are in > the NFS-mounted volume. There are about a dozen Win2K workstations on > the network served by the Samba server. > > Lately I have noticed that /var/log/messages is full with entries like: > > ... /kernel: nfs server filer01:/vol/vol0/psa: not responding > ... /kernel: nfs server filer01:/vol/vol0/psa: is alive again > > It seems that the server sometimes is unresponsive for less than a > second, many other times it's unresponsive for a number of seconds (as > many as 8 seconds). In order to proceed, it would help to run a tcpdump between the NFS server and this FreeBSD machine, and take a look at the packets just before one of these errors is logged, and try to correlate with anything else in your logs (ie, a particular Samba client did something or saw an error as a result). Use something like: tcpdump -w packet.dmp -s 0 host filer01 and host localhost ... and read via "tcpdump -r packet.dmp". Note that Samba is going to be happier serving from local disks; it would be better for the clients to mount against filer01 directly than to "forward" a remote filesystem via this NFS->CIFS/SMB bridge... -- -Chuck