Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009
The following sample definition specifies a prefabricated striped volume on storage
that is restricted to the location Room1, and a volume that is mirrored across
controllers in the disk group testdg. In addition, the rules for the volume group
specify that the volumes are to be created on separate enclosures, and that storage
may only be allocated on disks from a given vendor.
volumegroup {
diskgroup "testdg"
rules {
separateby "Enclosure"
confineto "VendorName"="ACME"
}
volume "strpvol" 10g {
rules {
confineto "Room=Room1"
}
capability ’PrefabricatedStriping’
}
volume "mirdvol" 1g {
rules {
separateby "Controller"
}
capability ’DataMirroring(nmirs=2)’
}
};
To create multiple volumes with the same name prefix, specify a numeric argument
to the nvol parameter in the volume section, as shown in the following example:
volumegroup {
diskgroup "mydg"
rules {
separateby "Enclosure"
exclude "Enclosure"="ENC1"
}
volume "mirvol" 10g {
nvol 3
capability ’DataMirroring(nmirs=2)’
}
};
This creates three volumes named mirvol1, mirvol2 and mirvol3. If volumes
with the same name prefix and numeric suffix already exist, the numbering of
the new volumes continues from the highest number found plus 1.
Creating application volumes
Creating multiple volumes as a volume group
74