From owner-freebsd-fs@FreeBSD.ORG Tue Dec 30 19:36:03 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 EA5D5106564A for ; Tue, 30 Dec 2008 19:36:03 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from gigi.cs.uoguelph.ca (gigi.cs.uoguelph.ca [131.104.94.210]) by mx1.freebsd.org (Postfix) with ESMTP id 8536B8FC1E for ; Tue, 30 Dec 2008 19:36:03 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by gigi.cs.uoguelph.ca (8.13.1/8.13.1) with ESMTP id mBUIwO5l017317; Tue, 30 Dec 2008 13:58:24 -0500 Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id mBUJ0c518468; Tue, 30 Dec 2008 14:00:38 -0500 (EST) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Tue, 30 Dec 2008 14:00:38 -0500 (EST) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: Bryan Alves In-Reply-To: <92f477740812291739o7c0b840bsd1cce4375577c41f@mail.gmail.com> Message-ID: References: <92f477740812291739o7c0b840bsd1cce4375577c41f@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scanned-By: MIMEDefang 2.63 on 131.104.94.210 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 19:36:04 -0000 On Mon, 29 Dec 2008, Bryan Alves wrote: [stuff snipped] > 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 can't help w.r.t. getting the NKM to work (I've always thought that the NLM protocol was a crock and avoided using it). But, here's a couple of things you could try to avoid using the NLM. - Do the Linux mount with the "nolock" option. (If Ubuntu has a "locallock" option, that would be even better, but I'm not sure what options recent Linux's have for nfs mounts.) - Download my server patches (ftp.cis.uoguelph.ca/pub/nfsv4/FreeBSD7) and switch to using nfsv4, which has integral locking in the protocol. Have a good holiday, rick