Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
lockd(1M)							     lockd(1M)

NAME
       lockd - network lock daemon

SYNOPSIS
       log_file] timeout] graceperiod]

DESCRIPTION
       is  an RPC server that processes	NFS file locking requests from the lo-
       cal kernel or from another remote lock daemon.  forwards	lock  requests
       for  remote  data  to the server	site's lock daemon through the RPC/XDR
       package (see rpc(3N)).  then requests the status	 monitor  daemon,  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 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 NFS client-
       site to submit reclaim requests.	 Client-site lockds  are  notified  by
       the  of	the  server recovery, and promptly resubmit previously granted
       lock requests.  If a fails to secure a previously granted lock  at  the
       server site, the	sends a	to the process holding that lock.

   Options
       recognizes the following	options	and command-line arguments:

	      Log any errors to	the named log file
				  log_file.   Errors are not logged if the op-
				  tion is not specified.

				  Information logged to	the file includes date
				  and time of the error, host name, process ID
				  and name of the function generating the  er-
				  ror, and the error message.

	      uses		  timeout (seconds) as the interval instead of
				  the default value (10	seconds) to retransmit
				  a  lock  request to the remote server.  Note
				  that changing	this value  also  changes  the
				  value	for grace period duration.

	      uses		  [1+(graceperiod/timeout)]xtimeout  (seconds)
				  as the grace period duration instead of  the
				  default  value (5xtimeout seconds).  If both
				  and are specified, the should	 appear	 first
				  since	the grace period duration is dependent
				  on the value of timeout.

AUTHOR
       was developed by	Sun Microsystems, Inc.,	and HP.

SEE ALSO
       fcntl(2), lockf(2), signal(2), statd(1M).

								     lockd(1M)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=lockd&sektion=1m&manpath=HP-UX+11.22>

home | help