Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009
# vxassist -g mydg -P mypool make r5vol 2g \
capability=’Raid5Capability(ncols=8),\
Raid5LogMirroring(nlogs=2)’
Creating volumes by specifying capabilities and rules
You can specify storage selection and layout rules in addition to capabilities when
creating volumes. This allows you to select explicitly which storage can and cannot
be used for certain volumes. For example, you might do this to ensure that volumes
are created on storage with certain performance or reliability that is implemented
in an array’s hardware.
Different types of rules and their usage are available.
See “Rules” on page 153.
Creating a RAID-5 volume on prefabricated storage
The following command creates a 10 GB volume on a prefabricated RAID-5 disk
that is exported from an array made by a specified vendor:
# vxassist -g mydg -P mypool make perfr5vol 10g \
capability='PrefabricatedRaid5' \
rules='confineto "VendorName"="ACME"'
Creating a mirrored volume on enclosures in separate locations
The following command creates a mirrored volume that tolerates the failure of a
single enclosure, where each enclosure is in a different room:
# vxassist -g mydg -P mypool make mirvol 10g \
capability=’DataMirroring’ \
rules=’separateby "Room","Enclosure"’
Mirrored volumes spanning enclosures avoids a single point of failure and ensures
greater reliability.
In the following example, the vxdisk settag command was used to assign tags
for the user-defined attribute Room to each disk:
# vxdisk -g mydg settag Room=room1 mydg01 mydg02 mydg03 mydg04
# vxdisk -g mydg settag Room=room2 mydg05 mydg06 mydg07 mydg08
Creating a striped volume excluding certain disks
The following command creates a striped volume on storage other than that in
Room1 and certain disks in enclosure, Enc1:
69Creating application volumes
Creating volumes