[Linux-HA] HA-NFS and POSIX locks, unable to umount?
Jeff Layton
jtlayton at poochiereds.net
Sun May 30 04:56:35 MDT 2004
On Thu, 2004-05-27 at 12:36, Alan Robertson wrote:
> This is a known bug in NFS. At least, it's known to us ;-)
>
> The solution is to reboot the machine (sorry!). Starting with 1.2.1, this
> should happen automatically when the Filesystem stop command fails
>
> This problem and a couple of other related ones regarding locking are
> documented here...
>
> http://wiki.trick.ca/linux-ha/HaNFS
Actually, good news! I posted this same problem to the linux-nfs mailing
list and got a fix for it. The trick is to send a SIGKILL to the 'lockd'
kernel thread. This tells lockd to release all of its locks. Once I did
this I was able to unmount the filesystem, even if a client has a
current POSIX lock on the file.
That might be good info to add to the FAQ above...
Cheers,
--
Jeff Layton <jtlayton at poochiereds.net>
More information about the Linux-HA
mailing list