Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

Note: If you enter an incorrect volume size, do not try to stop the vxresize
operation by entering Crtl-C. Let the operation complete and then rerun vxresize
with the correct value.
For more information about the vxresize command, see the vxresize(1M) manual
page.
Resizing volumes with vxassist
The following modifiers are used with the vxassist command to resize a volume:
Increases the volume size to a specified length.growto
Increases the volume size by a specified amount.growby
Reduces the volume size to a specified length.shrinkto
Reduces the volume size by a specified amount.shrinkby
Extending to a given length
To extend a volume to a specific length, use the following command:
# vxassist [-b] [-g diskgroup] growto volume length
If you specify the -b option, growing the volume is a background task.
For example, to extend volcat to 2000 sectors, use the following command:
# vxassist -g mydg growto volcat 2000
If you want the subdisks to be grown using contiguous disk space, and you
previously performed a relayout on the volume, also specify the attribute
layout=nodiskalign to the growto command.
Extending by a given length
To extend a volume by a specific length, use the following command:
# vxassist [-b] [-g diskgroup] growby volume length
If you specify -b option, growing the volume is a background task.
For example, to extend volcat by 100 sectors, use the following command:
# vxassist -g mydg growby volcat 100
353Administering volumes
Resizing a volume