Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Feb 2005 13:52:43 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Tim Traver <tt-list@simplenet.com>
Cc:        questions@freebsd.org
Subject:   Re: NFS File Locking across multiple machines
Message-ID:  <20050209215243.GA13823@xor.obsecurity.org>
In-Reply-To: <420A6586.1000302@simplenet.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Wed, Feb 09, 2005 at 11:33:26AM -0800, Tim Traver wrote:
> Hi all,
> 
> a couple of years back, we ran into a problem with the FreeBSD NFS code 
> where file locks were not seen by other machines.
> 
> We use Netapp disk hardware to mount NFS filesystems to our FreeBSD 
> systems. In the past, two different machines would not recognize locks 
> from each other, and would sometimes cause file collisions.
> 
> From the same machine, two different processes would recognize locks 
> without a problem.
> 
> In our experience, the Sun servers that we had also did not have any 
> problems. This was after creating specific tests to make this determination.
> 
> We reported it to the freebsd developers way back when, and have lost 
> track as to the status of the issue.
> 
> Does anyone on this list know of the developer that was developing the 
> NFS code ??? or know anything about the issue ??? or have an answer ??? ;)
> 
> I'd like to talk to him/her to see what the status is in the later 
> FreeBSD 4.x series as well as 5.x

In 4.x and older rpc.lockd does not implement client-side locking.
This is documented in the manpage.  In 5.x and later rpc.lockd does do
client-side locking.

Kris


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCCoYrWry0BWjoQKURAkvyAJ9aBK2rBszpJUZoLnfp+yzNqr9UrwCg62u7
QITU04X5ylFVA0TDvVy0F2Y=
=i/x/
-----END PGP SIGNATURE-----
help

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