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

Adding Columns to a Volume

To add columns to a striped or RAID-5 volume, use the following command:


vxvoladm [-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   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   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.
 ^ 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