From owner-freebsd-fs@FreeBSD.ORG Tue Dec 30 21:13:20 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A63C5106564A for ; Tue, 30 Dec 2008 21:13:20 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id E9DFA8FC0C for ; Tue, 30 Dec 2008 21:13:19 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by bwz12 with SMTP id 12so14617546bwz.19 for ; Tue, 30 Dec 2008 13:13:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=9q/y8gn+QXqZxUl5JaNrWfyCcUx8Rt8LiPGEoDMhJQ8=; b=dD4TG1z/F5F42xq73tmHrZqhsWY8E3zHVJry5wByHvH040je+XaI8/FdFqePlKeXjY xgDUWCrYuIutzt3wSjAJQR+5t+KJ2B7g4GhKw+nAT5s86XlKC++S3bOASwUMDgSop4ES 05aNWVoqcvG0KyMpI+OraefwdmXZrGEd+C18A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=F2dU3U4OI43aKstMQQAfGn/tI6Zj5tNxrcSqXYiIzSF4MlfMTBNGUE9gunVnlpteee xt0FJi/mOUtfoALPvrNvnqqrBeSh88GnMjYOGFOd15HIVdrx9bGeb2DWdCVVUPinEhbv eeN3JECIwvsryQcZWnOmis+LK8sPol3v8wV3k= Received: by 10.223.112.201 with SMTP id x9mr11050146fap.69.1230670062264; Tue, 30 Dec 2008 12:47:42 -0800 (PST) Received: by 10.223.104.2 with HTTP; Tue, 30 Dec 2008 12:47:42 -0800 (PST) Message-ID: <6eb82e0812301247uaf5eb45v529765e29220fd80@mail.gmail.com> Date: Wed, 31 Dec 2008 04:47:42 +0800 From: "Rong-en Fan" To: "Bryan Alves" In-Reply-To: <92f477740812291739o7c0b840bsd1cce4375577c41f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <92f477740812291739o7c0b840bsd1cce4375577c41f@mail.gmail.com> Cc: freebsd-fs@freebsd.org Subject: Re: NFS locking problems with 7.0-RELEASE X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2008 21:13:20 -0000 On Tue, Dec 30, 2008 at 9:39 AM, Bryan Alves wrote: > I'm running a FreeBSD Server (7.0-RELEASE, latest patchlevel, problem has > existed on previous patchlevels). Running an NFS server, with statd and > lockd. Client is an Ubuntu 8.10 machine. Of note is that the FreeBSD > server (in a home environment) is also running PF and doing the packet > filtering for the house. > > When I export my home directory and mount it on my linux client, I run into > all sorts of problems with file locking. The biggest problem is the > inability to run firefox. When stracing an execution of firefox, execution > hangs when opening it's .parentlock file for F_GETLK. I also notice > messages in /var/log/messages on the client on occasion: > [...] > > I realize that the linux NFS client implementation isn't spectacular, but > the same ubuntu setup works when connected to a netapp, which leads me to > believe that the problem is with the freebsd nfs server implementation. > > If anyone can suggest some additional troubleshooting steps to provide some > more information, or propose some suggested solutions, it would be > appreciated. You may want to upgrade to latest RELENG_7 and use the rewrote lockd in kernel space (w/ NFS_LOCKD in your kernel configuration). Regards, Rong-En Fan