Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Dec 2008 04:47:42 +0800
From:      "Rong-en Fan" <grafan@gmail.com>
To:        "Bryan Alves" <bryanalves@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: NFS locking problems with 7.0-RELEASE
Message-ID:  <6eb82e0812301247uaf5eb45v529765e29220fd80@mail.gmail.com>
In-Reply-To: <92f477740812291739o7c0b840bsd1cce4375577c41f@mail.gmail.com>
References:  <92f477740812291739o7c0b840bsd1cce4375577c41f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 30, 2008 at 9:39 AM, Bryan Alves <bryanalves@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6eb82e0812301247uaf5eb45v529765e29220fd80>