Re: 2.6.X File locking on NFS stil broken

From: Ryan Anderson
Date: Wed Jun 09 2004 - 22:00:18 EST


On Wed, Jun 09, 2004 at 11:24:30PM +0200, Ruben Puettmann wrote:
> On Wed, Jun 09, 2004 at 05:13:43PM -0400, Trond Myklebust wrote:
> > P? on , 09/06/2004 klokka 17:03, skreiv Ruben Puettmann:
> >
> > > attached the strace and one tcpdump from the testprogramm.
> >
> > According to that tcpdump, the server is denying you the lock because it
> > is still in its grace period.
> >
> > During that period only clients that held locks before the server
> > rebooted are allowed to reclaim those locks. Your client will need to
> > wait until that grace period is over (usually ~ 1 minute or so).
>
> I have done a reboot on teh server ( It was up for over 315 day's ;-( )
> now all runs fine seems to be an race condition. I will take a look on
> it if this happend again.

Did you change libc and/or your DNS configuration without restarting
nfs-common? (statd/lockd)

--

Ryan Anderson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/