System Administration Commands statd(1M)
NAME
statd - network status monitor
SYNOPSIS
/usr/lib/nfs/statd
DESCRIPTION
statd is an intermediate version of the status monitor. It
interacts with lockd(1M) to provide the crash and recovery
functions for the locking services on NFS. statd keeps track
of the clients with processes which hold locks on a server.
When the server reboots after a crash, statd sends a message
to the statd on each client indicating that the server has
rebooted. The client statd processes then inform the lockd
on the client that the server has rebooted. The client lockd
then attempts to reclaim the lock(s) from the server.
statd on the client host also informs the statd on the
server(s) holding locks for the client when the client has
rebooted. In this case, the statd on the server informs its
lockd that all locks held by the rebooting client should be
released, allowing other processes to lock those files.
lockd is started by automountd(1M), mountnfs(1M), and
share(1M) if NFS automounts are needed.
FILES
/var/statmon/sm
lists hosts and network addresses to be contacted after
a reboot
/var/statmon/sm.bak
lists hosts and network addresses that could not be con-
tacted after last reboot
/var/statmon/state
includes a number which changes during a reboot
/usr/include/rpcsvc/sminter.x
contains the rpcgen source code for the interface ser-
vices provided by the statd daemon.
SunOS 5.11 Last change: 18 Nov 2004 1
System Administration Commands statd(1M)
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWnfscu
SEE ALSO
svcs(1), automountd(1M), lockd(1M), mountnfs(1M),
share(1M), svcadm(1M), attributes(5), smf(5)
NOTES
The crash of a server is only detected upon its recovery.
The statd service is managed by the service management
facility, smf(5), under the service identifier:
svc:/network/nfs/status
Administrative actions on this service, such as enabling,
disabling, or requesting restart, can be performed using
svcadm(1M). The service's status can be queried using the
svcs(1) command.
If it is disabled, it will be enabled by mountnfs(1M),
sharenfs(1M), and automountd(1M) unless its
application/autoenable property is set to false.
SunOS 5.11 Last change: 18 Nov 2004 2
|