Previous  |  Next  >  
Product: Storage Foundation Guides   
Manual: Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide   

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   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   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.

 ^ Return to Top Previous  |  Next  >  
Product: Storage Foundation Guides  
Manual: Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide  
VERITAS Software Corporation
www.veritas.com