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

Resizing a Volume


Note   Note    The following examples show how to resize volumes that do not contain file systems (volume type gen). If an application is using the volume to store data, use the appropriate utility to reduce the size of the data object before reducing the size of the volume, or to increase the size of the data object after increasing the size of the volume.

For volumes that contain volumes (volume type fsgen), use the vxresize command to change both the size of the file system and the volume.

Grow a volume by 5 gigabytes:


vxvoladm -g exdg growby vol1 5g

Grow an existing 10-gigabyte volume to 15 gigabytes without using disks from the enclosure e1:


# vxvoladm -g exdg growto vol1 15g \
use_storage='noneof("Enclosure"="e1")'

Shrink a volume by 10%:


vxvoladm -g exdg growby vol1 10%

Shrink an existing 15-gigabyte volume to 10 gigabytes:


vxvoladm -g exdg shrinkto vol1 10g
 ^ 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