mdmonitord - daemon to monitor metadevices
/usr/sbin/mdmonitord [-t time_interval]
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.
The following options are supported:
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.
The following exit values are returned:
An error occurred.
See attributes(7) for descriptions of the following attributes:
svcs(1), md(4D), md.cf(5), md.tab(5), md.tab(5), mddb.cf(5), attributes(7), smf(7), metasync(8), metaclear(8), metadb(8), metadetach(8), metahs(8), metainit(8), metaoffline(8), metaonline(8), metaparam(8), metarecover(8), metarename(8), metareplace(8), metaset(8), metassist(8), metastat(8), metattach(8), svcadm(8)
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(7), under the service identifier: