lockd(8c)lockd(8c)Namelockd - network lock daemon
Syntax
/usr/etc/lockd [ -t timeout ] [ -g graceperiod ]
Description
The daemon processes lock requests that are either sent locally by the
kernel or remotely by another lock daemon. The NFS locking service
makes this advisory locking support possible by using the system call
and the subroutine. The daemon forwards lock requests for remote data
to the server site's lock daemon. The daemon then requests the status
monitor daemon, for monitor service. The reply to the lock request is
not sent to the kernel until the status daemon and the server site's
lock daemon have replied.
If either the status monitor or server site's lock daemon is unavail‐
able, the reply to a lock request for remote data is delayed until all
daemons become available.
When a server recovers, it waits for a grace period for all client site
daemons to submit reclaim requests. Client site daemons are notified
by of the server recovery and promptly resubmit previously granted lock
requests. If a client site's daemon fails to secure previously granted
locks at the server site, the daemon sends the signal SIGLOST to all
the processes that were previously holding locks and cannot reclaim
them.
Options-t timeout The daemon uses timeout (in seconds) as the interval
instead of the default value of 15 seconds to retrans‐
mit a lock request to the remote server.
-g graceperiod The daemon uses graceperiod (in seconds) as the grace
period duration instead of the default value of 45 sec‐
onds.
See Alsofcntl(2), lockf(3), signal(3), statd(8c)lockd(8c)