From owner-freebsd-fs@FreeBSD.ORG Wed Dec 31 05:09:06 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 1B4E81065676 for ; Wed, 31 Dec 2008 05:09:06 +0000 (UTC) (envelope-from bryanalves@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by mx1.freebsd.org (Postfix) with ESMTP id E07408FC17 for ; Wed, 31 Dec 2008 05:09:01 +0000 (UTC) (envelope-from bryanalves@gmail.com) Received: by wa-out-1112.google.com with SMTP id m34so3119404wag.27 for ; Tue, 30 Dec 2008 21:09:01 -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:in-reply-to:mime-version:content-type:references; bh=v2WI/GPd9oZ/e41GJlBBjDQhdjRKfQ5D4Uk7fI8OXaU=; b=HE4WecmKNWvy8G6iVFIjgXDWwdDuGhQJGzC3RfcHCdGiLL2tNAR3bS3QIFYxqnPe8G asRxiwtx1ZAiA8B005PyumYzu8BHYdR22LUp0wkKW7PvM5XMoBVhGFNBzEy53Q8btv3c L/GSCURUKsv/SsURI5xapX1ZDRUsrhOQAUKbY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=asumBUxbjPP0EdWYsktKHgUe/YH8MjPBwTdRmdCEOhhtsvaLEIRBhKZyqU+XO+95Xp 4UJwG88lo0mY2H8b+v7535QboShZLcjXVDt/qZbwUjGiOVu5lfAEt4T8fqU5vwl3yO9m pUjxax/VU/qkIuH7fh4dkvC+/5ITj6ATEqX9s= Received: by 10.114.169.20 with SMTP id r20mr10259614wae.110.1230700140933; Tue, 30 Dec 2008 21:09:00 -0800 (PST) Received: by 10.114.155.13 with HTTP; Tue, 30 Dec 2008 21:09:00 -0800 (PST) Message-ID: <92f477740812302109n78d9f303y5c49b8ca6ab082c5@mail.gmail.com> Date: Wed, 31 Dec 2008 00:09:00 -0500 From: "Bryan Alves" To: freebsd-fs@freebsd.org In-Reply-To: <6eb82e0812301247uaf5eb45v529765e29220fd80@mail.gmail.com> MIME-Version: 1.0 References: <92f477740812291739o7c0b840bsd1cce4375577c41f@mail.gmail.com> <6eb82e0812301247uaf5eb45v529765e29220fd80@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Wed, 31 Dec 2008 05:09:06 -0000 On Tue, Dec 30, 2008 at 3:47 PM, Rong-en Fan wrote: > 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 Where can I find more information about in kernel NFS_LOCKD? It doesn't seem to exist on google at all, and I'm hesistant to upgrade from RELEASE without doing due dilligence in terms of research. Is rpc.lockd_enable still required in rc.conf when using this? Do I need to do anything else besides update to RELENG_7 and installworld/installkernel with this new option?