Jim Harm harm1@llnl.gov writes:
I know there was discussion on this before, but I don't recall any resolution.
It started with the binmail program could not NFS lock the file. I have run the lockdump -h command and found the processes and the files. The processes are no longer running on the host. The file no longer exists.(I removed it) The locks are still on the filer. How can I get rid of them? and(anyone) Why does the NetApp box keep the lock for processes/files that don't exist?
It's up the client kernel to remove the locks held by a process when that process goes away. What flavour is your client? Is its NLM implementation reliable?
The removal of the file should be neither here nor there. NFS and NLM are only tenuously related through the use of NFS filehandles as NLM tokens. [Roll on NFS v4 when locking is to become a first-class NFS activity!]
Chris Thompson University of Cambridge Computing Service, Email: cet1@ucs.cam.ac.uk New Museums Site, Cambridge CB2 3QG, Phone: +44 1223 334715 United Kingdom.