After you have created a shell script with the metassist command, you can use that script to create the volumes that you specified when the shell script was created.
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.
Check Prerequisites for Top-Down Volume Creation.
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.
Execute the saved shell script.
# sh ./metassist-shell-script-name |
View the new volume.
# metastat -s diskset-name |
The following example shows how to use the metassist command to create a volume using a shell script.
# sh ./tmp/metassist-shell-script.sh myset/hsp000: Hotspare pool is setup myset/hsp000: Hotspare is added myset/d2: Concat/Stripe is setup myset/d1: Concat/Stripe is setup myset/d0: Mirror is setup myset/d0: submirror myset/d1 is attached |