|
|
HP-UX Reference > Llockd(1M)HP-UX 11i Version 2: December 2007 Update |
|
NAMElockd, rpc.lockd — network lock daemon DESCRIPTIONlockd is an RPC server that processes NFS file locking requests from the local kernel or from another remote lock daemon. lockd forwards lock requests for remote data to the server site's lock daemon through the RPC/XDR package (see rpc(3N)). lockd then requests the status monitor daemon, statd for monitor service (see statd(1M)). 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 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 NFS client-site lockds to submit reclaim requests. Client-site lockds 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 a SIGLOST to the process holding that lock. A fixed port can be specified for lockd by using the LOCKD_PORT variable in the /etc/rc.config.d/nfsconf file, as shown: LOCKD_PORT=port_number The port number can have any value between 1 and 65535. After adding the port variable to the /etc/rc.config.d/nfsconf file, lockd must be restarted for this to take effect. This feature can be disabled by deleting or commenting out the port variable from the /etc/rc.config.d/nfsconf file and restarting lockd. Optionslockd recognizes the following options and command-line arguments:
|
|