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

83Administering application volumes
Transforming the capabilities of a volume online
discussed in the following section. Subsequent sections describe how to add or
remove mirrors, columns or logs to or from a volume, how to stop and reverse
transformation and relayout operations, and how to verify that the intent of a
volume has been preserved.
Transforming the capabilities of a volume online
To change the capabilities of an existing volume online, use the vxassist
transform command as shown here:
# 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 4 mirrors:
# vxassist -g mydg -b transform vol02 \
capability=’DataMirroring (nmirs=4)’
The next 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:
# vxassist [-g
diskgroup
] [-f] remove mirror
volume \
[nmirrors=
number
] [
attributes
...]
By default, one mirror is removed. You can use the nmirrors attribute to specify
the number of mirrors to remove. You can use storage attributes to specify the