Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: NFS File Locking

by choroba (Cardinal)
on Apr 08, 2026 at 13:15 UTC ( [id://11167507]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11167507]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2026-04-16 02:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.