[Linux-HA] HA-NFS and POSIX locks, unable to umount?
gshi at ncsa.uiuc.edu
Thu Jun 3 15:58:43 MDT 2004
At 05:33 PM 6/3/2004 -0400, Jeff Layton wrote:
>Guochun Shi wrote:
>>I tried your test program, it works for me too, even without kill -9. Both the server and the client are in 2.4.26.
>What exactly are you doing? Here's what I was doing:
>mount the filesystem on the client
>create a file on the filesystem
>on the client, run the locktest program and lock the file. Leave it running...
>then try to shut down NFS on the server and unmount the underlying filesystem
This is exactly what I was doing. I did it manually, not through heartbeat.
>I would reliably have problems unmounting the filesystem with the lock still acquired. Happened to me on both 2.4 and 2.6 kernels on the server. Is this essentially what you're doing too?
I do have problems if the client was running Connectathon. I suspect there are race conditions. If you could try Connectiontathon lock test, that would be great (http://www.connectathon.org/nfstests.html)
More information about the Linux-HA