Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lockd-srv(1M) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lockd-clnt(1M)

statd(1M)

lockd-srv(1M)                                                 lockd-srv(1M)

NAME
     lockd-srv - RPC service for NLM (Network Lock Manager)

SYNOPSIS
     lockd-srv [-g gmin:gwait:gmax] [-t retrytmo] [-f nfiles] [-s]

DESCRIPTION
     lockd-srv must run on every NLM server and on every NLM client (NLM
     stands for Network Lock Manager, a service managing locks by NFS).
     lockd-srv processes NLM jobs from remote clients. It also registers
     the clients with the statd status daemon.

     One of the main tasks of lockd-srv is managing blocked locks (a pro-
     cess tries to set a lock, this fails, and the process is blocked). If
     a previously blocked lock can be set on the server, lockd-srv informs
     the lockd-srv process running on the client. This also ensures con-
     tinuation of the client process which was waiting for the setting of
     the blocked lock.

     During initialization, lockd-srv informs all NLM clients registered on
     the server using statd. During a "protection period", which can be set
     by the system administrator, the clients can reset locks on the server
     that were lost as the result of a crash, for example. lockd-srv
     rejects all NLM jobs other than the resetting of locks during the pro-
     tection period.

OPTIONS
     -g gmin:gwait:gmax
          Protection period (in seconds) during which the NLM client can
          reset lost locks.

     gmin Minimum total time of the protection period.

     gwait
          Each time a lock is reset, lockd-srv maintains the protection
          period for at least gwait seconds, provided the maximum total
          time for the protection period (gmax) has not been exceeded.

     gmax Maximum total time of the protection period.

          Default values for the protection period are gmin=45, gwait=10,
          gmax=360.

     -t retrytmo
          If locks block, lockd-srv tries to reset them every retrytmo
          seconds. The default value is 60 seconds.

     -f nfiles
          nfiles is the number of files on the server that can be locked by
          the NLM client. The default value is 1024.





Page 1                       Reliant UNIX 5.44                Printed 11/98

lockd-srv(1M)                                                 lockd-srv(1M)

     -s   A message is written to the log file of the system if conflicts
          occur when setting up "File Shares", usually carried out by PC
          clients.

DIAGNOSTICS
     lockd-srv is started automatically when NFS is brought up. If the dae-
     mon is not running, the log file of the system should be checked for
     error messages from lockd-srv.

SEE ALSO
     lockd-clnt(1M), statd(1M).











































Page 2                       Reliant UNIX 5.44                Printed 11/98

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