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

85Administering application volumes
Removing columns from a volume
Removing columns from a volume
To remove columns from a striped or RAID-5 volume, use the following
command:
# vxassist [-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:
# vxassist -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 volume. These file system types cannot be shrunk. This restriction
does not apply to an Online JFS (Full VxFS) file system, which can be shrunk
while mounted. See the vxresize(1M) manual page for more information.