Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2007 00:30:01 +0800
From:      LI Xin <delphij@delphij.net>
To:        VANHULLEBUS Yvan <vanhu_bsd@zeninc.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: NFS locking broken
Message-ID:  <45A66609.4090307@delphij.net>
In-Reply-To: <20070111161754.GA955@zen.inc>
References:  <20070111161754.GA955@zen.inc>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig014A43C190C6B68BE27C029D
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

VANHULLEBUS Yvan wrote:
> Hi all.
>=20
> Summary of the problem: since a few days, one of my FreeBSD
> workstations can't lock anymore files on a NFS filesystem.
>=20
>=20
>=20
> More details:
>=20
> I have a NFS server (on a old Linux box, but that's not the problem,
> it works) and some workstations.
>=20
> Everything worked fine until a few days ago. It may not be related,
> but problems started just after I made a big portupgrade of the
> problematic workstation (last portupgrade was made 1 or 2 months
> ago).
>=20
>=20
> Now, when I boot this workstation (which mounts one NFS partition on
> boot), I may have time (less than 5 minuts) to do a few NFS locks on
> the partition (/home), then NFS locking stops working, and all lock
> requests will be blocked (top says programs are on state "lockd", and
> rpc.lockd is seen twice, on in "select" state and the other in
> "nfslock" state).

Sounds like an known and fixed issue.  Try this patch:

http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/rpc.lockd/lockd_lock.c=
=2Ediff?r1=3D1.18&r2=3D1.19

Cheers,
--=20
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!


--------------enig014A43C190C6B68BE27C029D
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFpmYJOfuToMruuMARAxOLAKCJ1h4+8+FPpQxn4TY5tZ0JSdx3egCfTHsQ
Sz4BBcg217/nxwG/Txr8Er4=
=4+o9
-----END PGP SIGNATURE-----

--------------enig014A43C190C6B68BE27C029D--



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