'\" te .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. .\" 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. .\" 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. .\" 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] .TH MDMONITORD 1M "Jul 25, 2004" .SH NAME mdmonitord \- daemon to monitor metadevices .SH SYNOPSIS .LP .nf \fB/usr/sbin/mdmonitord\fR [\fB-t\fR \fItime_interval\fR] .fi .SH DESCRIPTION .sp .LP The \fBmdmonitord\fR utility is part of Solaris Volume Manager. It monitors and checks RAID1 (mirrors), RAID5 and hot spares. .sp .LP There are two methods for checking: .RS +4 .TP .ie t \(bu .el o At fixed time intervals. .RE .RS +4 .TP .ie t \(bu .el o When a RAID-1 (mirror), RAID-5, or hot spare fails. A failure generates an error event which triggers a check of these metadevices. .RE .SH OPTIONS .sp .LP The following options are supported: .sp .ne 2 .na \fB\fB-t\fR\fR .ad .RS 6n Time interval in seconds. The default value is 0, which causes probes to occur only upon an error. If you want to run \fBmdmonitord\fR at a regular interval, a value of 1800 (seconds, every half hour) is recommended as a starting point. .RE .SH EXIT STATUS .sp .LP The following exit values are returned: .sp .ne 2 .na \fB\fB0\fR\fR .ad .RS 6n Successful completion. .RE .sp .ne 2 .na \fB>0\fR .ad .RS 6n An error occurred. .RE .SH SEE ALSO .sp .LP \fBsvcs\fR(1), \fBmetaclear\fR(1M), \fBmetadb\fR(1M), \fBmetadetach\fR(1M), \fBmetahs\fR(1M), \fBmetainit\fR(1M), \fBmetaoffline\fR(1M), \fBmetaonline\fR(1M), \fBmetaparam\fR(1M), \fBmetarecover\fR(1M), \fBmetarename\fR(1M), \fBmetareplace\fR(1M), \fBmetaroot\fR(1M), \fBmetaset\fR(1M), \fBmetassist\fR(1M), \fBmetastat\fR(1M), \fBmetasync\fR(1M), \fBmetattach\fR(1M), \fBsvcadm\fR(1M), \fBmd.tab\fR(4), \fBmd.cf\fR(4), \fBmddb.cf\fR(4), \fBmd.tab\fR(4), \fBattributes\fR(5), \fBsmf\fR(5), \fBmd\fR(7D) .sp .LP \fI\fR .SH NOTES .sp .LP Since frequent probes can affect performance, it is recommended that the intervals between probes be limited. .sp .LP The \fBmdmonitord\fR service is managed by the service management facility, \fBsmf\fR(5), under the service identifier: .sp .in +2 .nf svc:/system/mdmonitor .fi .in -2 .sp .sp .LP Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using \fBsvcadm\fR(1M). The service's status can be queried using the \fBsvcs\fR(1) command.