Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009
Transforming the capabilities of a volume online
To change the capabilities of an existing volume online, use the vxassist
transform command as shown in the following command definition:
# vxassist [-g diskgroup] [-b] transform volume [attributes...]
If specified, the -b option performs the transformation in the background.
For example, the following command changes the capability of the volume, vol02,
to DataMirroring with four mirrors:
# vxassist -g mydg -b transform vol02 \
capability=’DataMirroring (nmirs=4)’
The following example adds the InstantSnapShottable and DCOLogMirroring
capabilities to enable the use of instant snapshots with a mirrored volume:
# vxassist -g mydg -b transform mir3vol \
capability=’DataMirroring(nmirs=3),InstantSnapShottable,\
DCOLogMirroring(nlogs=3)’
Adding mirrors to a volume
To add mirrors to an existing volume, use the following command:
# vxassist [-g diskgroup] [-b] mirror volume \
[nmirrors=number] [attributes...]
By default, one mirror is added. You can use the nmirrors attribute to specify the
number of mirrors to add. If specified, the -b option performs the synchronization
of the new mirrors in the background. You can also use storage attributes to
specify the storage to be used for the mirrors.
For example, the following command adds a mirror to the volume, mirvol1, using
disk mydg01:
# vxassist -g mydg -b mirror mirvol1 \
use_storage=’"DM"="mydg01"’
Removing mirrors from a volume
To remove mirrors from a volume, use the following command:
Administering application volumes
Transforming the capabilities of a volume online
86