Re: [NFS] Re: NFS client locking hangs for period

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Sun Jan 26 2003 - 18:02:00 EST


>>>>> " " == Christian Reis <kiko@async.com.br> writes:

> statd(8) does indicate that /var/lib/nfs is private, so I just
> mount it as tmpfs. Should I make it persistent, or is the fact
> those files disappear on an unclean reboot a sign of trouble?

If you want locking to work, then /var/lib/nfs *MUST* be
persistent and unique for each client.

If not then the server will fail to be notified that it needs to
release any POSIX locks it might think you were holding if/when your
NFS client fails to shutdown cleanly.
That again will typically cause a deadlock the next time you try to
access your mailspool (if the server thinks it is already holding a
lock on your behalf).

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



This archive was generated by hypermail 2b29 : Fri Jan 31 2003 - 22:00:15 EST