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>
References:  <420A6586.1000302@simplenet.com>

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

--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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


--9amGYk9869ThD9tj
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

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

--9amGYk9869ThD9tj--



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