Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Dec 2008 00:09:00 -0500
From:      "Bryan Alves" <bryanalves@gmail.com>
To:        freebsd-fs@freebsd.org
Subject:   Re: NFS locking problems with 7.0-RELEASE
Message-ID:  <92f477740812302109n78d9f303y5c49b8ca6ab082c5@mail.gmail.com>
In-Reply-To: <6eb82e0812301247uaf5eb45v529765e29220fd80@mail.gmail.com>
References:  <92f477740812291739o7c0b840bsd1cce4375577c41f@mail.gmail.com> <6eb82e0812301247uaf5eb45v529765e29220fd80@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 30, 2008 at 3:47 PM, Rong-en Fan <grafan@gmail.com> wrote:

> 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


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?



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