eygle.com   eygle.com
eygle.com  
 

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

Man Page Of METASTAT

作者:eygle |【转载时请以超链接形式标明文章和作者信息及本声明
链接:
站内相关文章|Related Articles
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


历史上的今天...
      >> 2008-12-20文章:
             《深入解析Oracle》一书勘误表
      >> 2006-12-20文章:
             圣诞快乐与搜索引擎的力量
      >> 2005-12-20文章:
------
这篇 【Man Page Of METASTAT】来自 eygle.com | CSDN网摘| del.icio.us|Google订阅 | 鲜果订阅 | 抓虾订阅

By eygle on 2004-12-20 09:57 | Comments (0) | Posted to Unix&Linux | Edit |

相关文章 随机文章
《深入浅出Oracle》的台湾读者
Oracle HowTo:如何进行数据块转储及RDBA的转换
什么是内存的Parity、ECC和SPD
万恶的东方航空公司续
《深入浅出Oracle》修订初稿定稿
搜索本站:

留言 (0)

发表留言:



Remember Me?
(输入验证码后方可评论,谢谢支持)



CopyRight © 2004~2010 eygle.com, All rights reserved.