Solaris Volume Manager Administration Guide

Specifying Output Verbosity from the metassist Command

When you run the metassist command, you can specify the level of verbose output. More verbose output can help diagnose problems, such as determining why disks were or were not selected for use in a volume, or to determine why a specific attempted command failed. Less verbose output can reduce the amount of extraneous information that you must review.

ProcedureTo Use the metassist Command with Verbose Output

Steps
  1. Make sure that you have the necessary prerequisites for using top down volume creation (the metassist command).

  2. Identify available storage on which to create the volume.

  3. Use the following form of the metassist command to create a stripe and specify verbose output:


    metassist create-s diskset-name -S size-v verbosity
    
    • create is the subcommand to create volumes.

    • -s diskset-name specifies the name of the disk set to use for the volumes.

    • -S size specifies the size of the volume to create in KB, MB, GB, or TB, for kilobytes, megabytes, gigabytes, and terabytes, respectively.

    • -v verbosity specifies how verbose the output should be. The default level is 1, and allowable values range from 0 (nearly silent output) to 2 (significant output).

    See the following examples and the metassist(1M) man page for more information.

  4. Use the metastat command to view the new volume.


    metastat-s diskset-name
    

Example—Using the metassist Command with Verbose Output


# metassist create -s myset -f -r 2 -S 10mb -v 2
 

This example shows how to use the metassist command to create a two-way mirror, 10Mb in size, with a hot spare to provide additional fault tolerance (the -f option specifies fault tolerance). The final argument (-v) specifies a verbosity level of two, which is the maximum level and will provide the most information possible about how the metassist command worked.

Example—Using the metassist Command with Minimal Output


# metassist create -s myset -f -r 2 -S 10mb -v 0
 

This example shows how to use the metassist command to create a two-way mirror, 10Mb in size, with a hot spare to provide additional fault tolerance (the -f option specifies fault tolerance). The final argument (-v 0) specifies a verbosity level of zero, which is the minimum level and will provide nearly silent output when the command runs.