Solaris Volume Manager Administration Guide

Example—Creating a Command File (Shell Script) with the metassist Command


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

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 (-c) specifies that the volume should not actually be created, but rather than a shell script that could be used to create the specified configuration should be sent to standard output.