2 .\" Copyright 1989 AT&T Copyright (c) 2004 Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH STATD 8 "Nov 18, 2004"
8 statd \- network status monitor
12 \fB/usr/lib/nfs/statd\fR
18 \fBstatd\fR is an intermediate version of the status monitor. It interacts with
19 \fBlockd\fR(8) to provide the crash and recovery functions for the locking
20 services on NFS. \fBstatd\fR keeps track of the clients with processes which
21 hold locks on a server. When the server reboots after a crash, \fBstatd\fR
22 sends a message to the \fBstatd\fR on each client indicating that the server
23 has rebooted. The client \fBstatd\fR processes then inform the \fBlockd\fR on
24 the client that the server has rebooted. The client \fBlockd\fR then attempts
25 to reclaim the lock(s) from the server.
28 \fBstatd\fR on the client host also informs the \fBstatd\fR on the server(s)
29 holding locks for the client when the client has rebooted. In this case, the
30 \fBstatd\fR on the server informs its \fBlockd\fR that all locks held by the
31 rebooting client should be released, allowing other processes to lock those
35 \fBlockd\fR is started by \fBautomountd\fR(8), \fBmount_nfs\fR(8), and
36 \fBshare\fR(8) if NFS automounts are needed.
41 \fB\fB/var/statmon/sm\fR\fR
45 lists hosts and network addresses to be contacted after a reboot
51 \fB\fB/var/statmon/sm.bak\fR\fR
55 lists hosts and network addresses that could not be contacted after last reboot
61 \fB\fB/var/statmon/state\fR\fR
65 includes a number which changes during a reboot
71 \fB\fB/usr/include/rpcsvc/sm_inter.x\fR\fR
75 contains the rpcgen source code for the interface services provided by the
82 \fBsvcs\fR(1), \fBautomountd\fR(8), \fBlockd\fR(8), \fBmount_nfs\fR(8),
83 \fBshare\fR(8), \fBsvcadm\fR(8), \fBattributes\fR(5), \fBsmf\fR(5)
90 The crash of a server is only detected upon its recovery.
93 The \fBstatd\fR service is managed by the service management facility,
94 \fBsmf\fR(5), under the service identifier:
98 svc:/network/nfs/status
105 Administrative actions on this service, such as enabling, disabling, or
106 requesting restart, can be performed using \fBsvcadm\fR(8). The service's
107 status can be queried using the \fBsvcs\fR(1) command.
110 If it is disabled, it will be enabled by \fBmount_nfs\fR(8),
111 \fBshare_nfs\fR(8), and \fBautomountd\fR(8) unless its
112 \fBapplication/auto_enable\fR property is set to \fBfalse\fR.