nfssetlock(8nfs)nfssetlock(8nfs)Namenfssetlock - turn on or off the NFS locking service
Syntax
/etc/nfssetlock option
Description
The command turns the NFS locking service on or off at the kernel
level. By default, the NFS locking service is turned off.
If the NFS locking service is turned off, local locking is active.
Local locking only coordinates the dispersal of advisory locks to local
files and file regions. The NFS locking service coordinates the dis‐
persal of advisory locks to both local and remote files and file
regions through the and primitives.
Only the superuser or root can run The best way to run is through the
command, which provides an interactive means for enabling and disabling
the NFS locking service.
Restrictions
If you run manually, you must issue it while the system is in single-
user mode. Otherwise, the locking information could become lost during
the transition between local and NFS locking.
Options
on Turn on the NFS locking service.
off Turn off the NFS locking service.
FilesSee Alsofcntl(2), lockf(3), nfssetup(8nfs)
Guide to the Network File System
nfssetlock(8nfs)