Solaris Volume Manager Administration Guide

Creating a Volume with A Saved Shell Script Created by the metassist Command

After you have created a shell script with the metassist command, you can use that script to create the volumes specified when the shell script was created.


Note –

The command script created by the metassist command has significant dependencies on the specific system configuration of the system on which the script was created, at the time the script was created. Using the script on different systems or after any changes to the system configuration can lead to data corruption or loss.


ProcedureTo Execute a Saved metassist Command Shell Script

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

  2. Ensure that the system configuration has not changed since the shell script was created, and that you are executing the script on the same system it was created on.

  3. Execute the saved shell script:


    sh ./metassist-shell-script-name
    
  4. Use the metastat command to view the new volume.


    metastat -s diskset-name