LOCKD(1M) RISC/os Reference Manual LOCKD(1M)
NAME
lockd - network lock daemon
SYNOPSIS
/etc/rpc.lockd [ -t timeout ] [ -g graceperiod ]
DESCRIPTION
lockd processes lock requests that are either sent locally
by the kernel or remotely by another lock daemon. lockd
forwards lock requests for remote data to the server site's
lock daemon through the rpc(4)/ xdr(3N) package. lockd then
requests the status monitor daemon, statd(1M), for monitor
service. The reply to the lock request will not be 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
unavailable, 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 lockds to submit reclaim requests. Client site
lockds, on the other hand, are notified by the statd of the
server recovery and promptly resubmit previously granted
lock requests. If a lockd fails to secure a previously
granted lock at the server site, the lockd sends SIGLOST to
a process.
OPTIONS
-t timeout
lockd uses timeout (seconds) as the interval
instead of the default value (15 seconds) to
retransmit lock request to the remote server.
-g graceperiod
lockd uses graceperiod (seconds) as the grace
period duration instead of the default value (45
seconds).
CONFIGURATION
A lock daemon will always be started at system boot time if
NFS is configured into the kernel. If the configuration
file /etc/lockd.conf is present, the first line is used to
pass arguments which lockd(1M) needs at boottime.
/etc/lockd.conf.sample is a sample configuration file.
FILES
/etc/lockd.conf
/etc/lockd.conf.sample
SEE ALSO
statd(1M).
Printed 11/19/92 Page 1
LOCKD(1M) RISC/os Reference Manual LOCKD(1M)
fcntl(2), lockf(3), signal(3C) in the Programmer's Reference
Manual.
ORIGIN
Sun Microsystems, NFS 4.0.
Page 2 Printed 11/19/92