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 strpvol 2g \
layout=mirror-stripe ncols=8 mirror=controller
Creating a RAID-5 volume with a RAID-5 log
The following command creates a 2 GB RAID-5 volume with eight data columns
and a RAID-5 log that has two redundant copies:
# vxassist -g mydg -P mypool make r5vol 2g layout=raid5 \
ncols=8 nraid5logs=2
Creating volumes by specifying capabilities
A capability is a high-level description of a volume, for example, DataMirroring,
Striping or PrefabricatedRaid5. ISP automatically selects a suitable template
from those that provide the desired capability. As such, this is the most abstract
way of creating volumes using vxassist as it requires the least specification by
you. You can customize a capability by specifying values for any variable
parameters that it defines.
Many predefined capabilities are supported.
See Capability on page 195.
Creating a mirrored volume
The following command creates a 1 GB volume with the default number of two
mirrors:
# vxassist -g mydg -P mypool make mir2vol 1g \
capability=’DataMirroring’ init=active
The init=active attribute makes the volume immediately available for use without
attempting to synchronize its empty plexes.
The following command creates a 1 GB volume with three mirrors:
# vxassist -g mydg -P mypool make mir3vol 1g \
capability=’DataMirroring(nmirs=3)’ init=active
Creating a mirrored volume with mirrors on separate
enclosures
The following command creates a 2 GB mirrored volume with two mirrors, and
with the mirrors located on separate enclosures:
67Creating application volumes
Creating volumes