eygle.com   eygle.com
eygle.com eygle
eygle.com  
 

« 周星驰的《功夫》首映终于来了 | Blog首页 | SUN的DISKSUITE »

Man Page Of METASTAT

Maintenance Commands                                 METASTAT(1M)

NAME
metastat - display status for metadevice or hot spare pool

SYNOPSIS
metastat -h
metastat [ -s setname ] [ -p ] [ -t ] [ metadevice... ]
[ hot_spare_pool... ]

AVAILABILITY
/usr/opt/SUNWmd/sbin

DESCRIPTION
     The metastat command displays the current  status  for  each
     metadevice  (including  stripes,  concatenations, concatena-
     tions of stripes, mirrors, RAID5, and trans devices) or  hot
     spare pool, or of specified metadevices or hot spare pools.

It is helpful to run the metastat command after using the
metattach command to view the status of the metadevice.

OPTIONS
-h Displays usage message.

-p Displays the list of active metadevices and hot spare
pools in a format like md.tab.

-s setname
Specifies the name of the diskset on which metastat
will work. Using the -s option will cause the command
to perform its administrative function within the
specified diskset. Without this option, the command
will perform its function on metadevices and/or hot
spare pools in the local diskset.

-t Prints the current status and timestamp for the speci-
fied metadevices and hot spare pools. The timestamp
provides the date and time of the last state change.

metadevice...
Displays the status of the specified metadevice(s). If
a trans metadevice is specified, the status of the mas-
ter and log devices is also displayed.

hot_spare_pool...
Displays the status of the specified hot spare pool(s).

EXAMPLES

SunOS 5.7 Last change: 19 June 1996 1

Maintenance Commands METASTAT(1M)

The following example shows the partial output of the metas-
tat command after creating a mirror, d0, consisting of two
submirrors, d70 and d80.

# metastat d0
d0: Mirror
Submirror 0: d80
State: Okay
Submirror 1: d70
State: Resyncing
Resync in progress: 15 % done
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 2006130 blocks
.
.
.

WARNING
metastat prints states as of the time the command is
entered. It is unwise to use the output of the metastat -p
command to create a md.tab(4) file for a number of reasons:
o The output of metastat -p may show hot spares being used.
o It may show mirrors with multiple submirrors. See
metainit for instructions for creating multi-way mirrors
using metainit and metattach.
o A slice may go into an error state after metastat -p is
issued.

SEE ALSO
metaclear(1M), metadb(1M), metadetach(1M), metahs(1M),
metainit(1M), metaoffline(1M), metaonline(1M),
metaparam(1M), metareplace(1M), metaroot(1M), metaset(1M),
metasync(1M), metattach(1M), md.tab(4), md.cf(4), mddb.cf(4)

Solstice DiskSuite User's Guide, Solstice DiskSuite Refer-
ence

SunOS 5.7 Last change: 19 June 1996 2


历史上的今天...
    >> 2011-12-20文章:
    >> 2008-12-20文章:
    >> 2006-12-20文章:
    >> 2005-12-20文章:

无觅

By eygle on 2004-12-20 09:57 | Comments (0) | System | 116 |


CopyRight © 2004~2020 云和恩墨,成就未来!, All rights reserved.
数据恢复·紧急救援·性能优化 云和恩墨 24x7 热线电话:400-600-8755 业务咨询:010-59007017-7040 or 7037 业务合作: marketing@enmotech.com