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

84 Administering application volumes
Adding columns to a volume
storage to be removed. For example, the following example removes the mirror
on the disk mydg01, from the volume mirvol1:
# vxassist -g mydg remove mirror mirvol1 \
remove_storage=’"DM"="mydg01"’
Note: If you use the vxassist command to remove mirrors, you must specify the
-f (force) option to the command if the operation would violate any rules. For
example, the rules may imply that a volume must have minimum number of
mirrors of a particular kind.
Adding columns to a volume
To add columns to a striped or RAID-5 volume, use the following command:
# vxassist [-g
diskgroup
] [-b] add column
volume
ncols=
number
\
[tmplen=
length
] [
attributes
...]
The ncols attribute specifies the number of columns to add. You can use storage
attributes to specify the storage to be used for the columns. If specified, the
-b
option adds the columns in the background.
Note: This operation creates a temporary 2-way mirror volume that requires at
least two disks, and therefore twice as much disk space as the size of the
temporary volume. The size of the temporary volume is based on the size of the
volume that is being changed. If required, you can use the
tmplen attribute to
specify the size of the temporary volume.
For example, the following command adds a column to the volume, strpvol1,
using disk enc1_5:
# vxassist -g mydg -b add column strpvol1 ncols=1 \
use_storage=’"DeviceName"="enc1_5"’
Note: If an HFS or Base JFS (Lite VxFS) file system is configured on an ISP
volume, do not specify
layout=grow to the vxvoladm command when adding
columns to the volume unless you first unmount the file system. These file
system types can only be grown if they are first unmounted. This restriction
does not apply to an Online JFS (Full VxFS) file system, which can be grown
while mounted. See the vxresize(1M) manual page for more information.