On Fri, Nov 27, 2009 at 03:24:51PM +0000, Matthias Scheler wrote: > On Fri, Nov 27, 2009 at 03:39:51PM +0100, Manuel Bouyer wrote: > > On Fri, Nov 27, 2009 at 10:30:32AM +0000, Matthias Scheler wrote: > > > If I understood the Isilon presentation during EuroBSDCon 2009 correctly > > > FreeBSD 8.0 has an in-kernel lockd. Porting their code might be > > > an option to achieve that. > > > > One nice thing about the userland lockd is that if you restart it, > > all the locks are dropped. > > Does it really? I have to remove "/var/db/statd.status" to achieve that.
Yes, the locks (held by lockd) are really dropped. statd.status is used by statd; statd is there to tell the clients that the server dropped the locks (e.g. because it rebooted). So with a nfslocking restart, statd will inform clients tha locks got lost, and the clients will relock their files. But if a client has forgotten the lock (because it's down for example, or just because it's buggy) it won't relock it again. -- Manuel Bouyer, LIP6, Universite Paris VI. manuel.bou...@lip6.fr NetBSD: 26 ans d'experience feront toujours la difference --