Linux Scroll

Just another WordPress.com site

metastat

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

metastat – display status for metadevice or hot spare pool
metastat [ -s setname ] [ -p ] [ -t ] [ metadevice… ] [ hot_spare_pool… ]

# metastat -h

-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 specified 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 master and log devices is also displayed.


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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: