NFS locking broken

LI Xin delphij at delphij.net
Thu Jan 11 16:31:37 UTC 2007


VANHULLEBUS Yvan wrote:
> Hi all.
> 
> Summary of the problem: since a few days, one of my FreeBSD
> workstations can't lock anymore files on a NFS filesystem.
> 
> 
> 
> More details:
> 
> I have a NFS server (on a old Linux box, but that's not the problem,
> it works) and some workstations.
> 
> 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).
> 
> 
> 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.diff?r1=1.18&r2=1.19

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20070111/b1135304/signature.pgp


More information about the freebsd-net mailing list