VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide
Chapter 4, Administering Application Volumes
Removing Columns from a Volume
65
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:
# vxvoladm -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.
Removing Columns from a Volume
To remove columns from a striped or RAID-5 volume, use the following command:
# vxvoladm [-g diskgroup] [-b] [-f] remove column volume \
[ncols=number] [tmplen=length]
The ncols attribute specifies the number of columns to remove. If specified, the -b option
removes 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 removes a column from the volume, strpvol1:
# vxvoladm -g mydg -b remove column strpvol1 ncols=1
Note If you use the vxvoladm command to remove columns, 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 columns of a particular kind.
If an HFS or Base JFS (Lite VxFS) file system is configured on an ISP volume, do not
specify layout=shrink to the vxvoladm command when removing columns from the