xref: /titanic_41/usr/src/man/man1m/mdmonitord.1m (revision 6319b0c72e1681f79a5f33dfa976a63eedd4a2a4)
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]
mdmonitord 1M "25 Jul 2004" "SunOS 5.11" "System Administration Commands"
NAME
mdmonitord - daemon to monitor metadevices
SYNOPSIS

/usr/sbin/mdmonitord [-t time_interval]
DESCRIPTION

The mdmonitord utility is part of Solaris Volume Manager. It monitors and checks RAID1 (mirrors), RAID5 and hot spares.

There are two methods for checking:

At fixed time intervals.

When a RAID-1 (mirror), RAID-5, or hot spare fails. A failure generates an error event which triggers a check of these metadevices.

OPTIONS

The following options are supported:

-t

Time interval in seconds. The default value is 0, which causes probes to occur only upon an error. If you want to run mdmonitord at a regular interval, a value of 1800 (seconds, every half hour) is recommended as a starting point.

EXIT STATUS

The following exit values are returned:

0

Successful completion.

>0

An error occurred.

SEE ALSO

svcs(1), metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaoffline(1M), metaonline(1M), metaparam(1M), metarecover(1M), metarename(1M), metareplace(1M), metaroot(1M), metaset(1M), metassist(1M), metastat(1M), metasync(1M), metattach(1M), svcadm(1M), md.tab(4), md.cf(4), mddb.cf(4), md.tab(4), attributes(5), smf(5), md(7D)

NOTES

Since frequent probes can affect performance, it is recommended that the intervals between probes be limited.

The mdmonitord service is managed by the service management facility, smf(5), under the service identifier:

svc:/system/mdmonitor

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.