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

[-- Attachment #1 --]
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@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!


[-- Attachment #2 --]
-----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-----

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