in reply to NFS File Locking

What version of NFS are you running? 3 and 4 are quite different when it comes to locking.

How is the NFS configured? What are the values of lock and local_lock?

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^2: NFS File Locking
by jbw8387 (Novice) on Apr 08, 2026 at 14:30 UTC

    I just use "mount -t nfs4" to mount the file system. Locking parameters would be whatever the defaults are. I am sure it is not using local locking. If it were using local locking, then things wouldn't work at all. The locks appear exclusive between machines, except for rare cases right around the time when the file is deleted.