Go to main content

手册页部分 8:系统管理命令

退出打印视图

更新时间: 2022年7月27日 星期三
 
 

mdmonitord(8)

名称

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:

–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.

退出状态

The following exit values are returned:

0

Successful completion.

>0

An error occurred.

属性

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
storage/svm

另请参见

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:

svc:/system/mdmonitor

Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(8). The service's status can be queried using the svcs(1) command.