Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lockd(1M) — Interactive 3.2r4.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

statd(1M)

fcntl(2)

signal(2)

lockf(3C)

lockd(1M)  —  

NAME

lockd − network lock daemon

SYNOPSIS

/etc/lockd [ −t timeout ] [ −d debuglevel ] ] −g graceperiod ]
[ −h ­hashsize ] [ −l k2utimeout ]

DESCRIPTION

The lockd daemon processes lock requests that are either sent locally by the kernel or remotely by another lock daemon.  The lockd daemon forwards lock requests for remote data to the server site’s lock daemon through the RPC/XDR(3N) package.  The lockd daemon 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 SIGUSR2 to a process. 

The following options are available:

−t timeout The lockd daemon uses timeout (seconds) as the interval instead of the default value (15 seconds) to retransmit lock request to the remote server. 

−d debuglevel
The lockd daemon has extensive internal reporting capabilities. A level of 2 reports significant events. A level of 4 reports internal state and all lock requests traffic; verbose. 

−g graceperiod
The lockd daemon uses graceperiod (seconds) as the grace period duration instead of the default value (45 seconds). 

−h hashsize
The lockd daemon uses hashsize hash buckets internally instead of the default of 29. 

−l k2utimeout
The lockd daemon uses k2utimeout (seconds) as the interval instead of the default value (2 seconds) to retransmit kernel lock manager requests.  This is the timeout value used for local lock requests. 

SEE ALSO

statd(1M). 
fcntl(2), signal(2), lockf(3C) in the INTERACTIVE SDS Guide and Programmer’s Reference Manual. 

\*U  —  Version 1.0

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026