Veritas Storage Foundation Intelligent Storage Provisioning 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008

67Creating application volumes
Creating volumes
Creating a mirrored volume with mirrors on separate
enclosures
The following command creates a 2-gigabyte mirrored volume with 2 mirrors,
and with the mirrors located on separate enclosures:
# vxassist -g mydg -P mypool make strpvol 2g \
capability=’DataMirroring,MirrorsOnSeparateComponents’
Such a volume tolerates the failure of one enclosure and provides greater
reliability. Such a capability can be combined with multipathing to provide
resilience against the failure of one of the paths to an enclosure:
# vxassist -g mydg -P mypool make strpvol 2g \
capability=’DataMirroring,MirrorsOnSeparateComponents,\
MultipathingThroughMultiplePaths’
Creating a striped volume
The following command creates a 2-gigabyte striped volume with 10 columns:
# vxassist -g mydg -P mypool 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:
# vxassist -g mydg -P mypool 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:
# vxassist -g mydg -P mypool 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:
# vxassist -g mydg -P mypool make r5vol 2g \
capability=’Raid5Capability(ncols=8),\
Raid5LogMirroring(nlogs=2)’