VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide
Chapter 3, Creating Application Volumes
Creating Volumes
49
# vxvoladm -g mydg make strpvol 2g capability=’DataMirroring,\
MirrorsOnSeparateComponents,MultipathingThroughMultiplePaths’
Creating a Striped Volume
The following command creates a 2-gigabyte striped volume with 10 columns:
# vxvoladm -g mydg make strpvol 2g capability=’Striping(ncols=10)’
Creating a Mirrored-Stripe Volume with Mirrors on Separate Controllers
The following command creates a 2-gigabyte mirrored-stripe volume with 8 columns, and with the
mirrors located on separate controllers:
# vxvoladm -g mydg make strpvol 2g \
capability=’DataMirrorStripe(ncols=8),\
MirrorsOnSeparateComponents(component="Controller")’
Creating a Striped-Mirror Volume from Prefabricated Mirrors
The following command creates a 10-gigabyte striped-mirror volume with 8 columns, and which
uses prefabricated mirrors that are exported by an array to form each column:
# vxvoladm -g mydg make strpvol 2g capability=’Striping(ncols=8),\
PrefabricatedDataMirroring’
Creating a RAID-5 Volume with a RAID-5 Log
The following command creates a 2-gigabyte RAID-5 volume with 8 data columns and a RAID-5
log that has 2 redundant copies:
# vxvoladm -g mydg 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.
Refer to “Rules” on page 121 for details of the different types of rule and their usage.