VERITAS Volume Manager 4.1 Administrator's Guide
Administering Volumes
Resizing a Volume
Chapter 8290
vxvm:vxresize: ERROR: Volume volume has different organization in
each mirror
For more information about the vxresize command, see the vxresize(1M)
manual page.
Resizing Volumes using vxassist
The following modifiers are used with the vxassist command to resize a
volume:
• growto—increase volume to a specified length
• growby—increase volume by a specified amount
• shrinkto—reduce volume to a specified length
• shrinkby—reduce volume by a specified amount
Extending to a Given Length
To extend a volume to a specific length, use the following command:
# vxassist [-b] growto volume length
NOTE If specified, the -b option makes growing the volume a background task.
For example, to extend volcat to 2000 sectors, use the following
command:
# vxassist growto volcat 2000
NOTE If you previously performed a relayout on the volume, additionally
specify the attribute layout=nodiskalign to the growto command if you
want the subdisks to be grown using contiguous disk space.
Extending by a Given Length
To extend a volume by a specific length, use the following command:
# vxassist [-b] growby volume length