VERITAS Volume Manager 3.5 Administrator's Guide (September 2004)

Administering Volumes
Resizing a Volume
Chapter 8 277
NOTE If specified, the -b option makes growing the volume a background task.
For example, to extend volcat by 100 sectors, use the following command:
# vxassist growby volcat 100
NOTE If you previously performed a relayout on the volume, additionally
specify the attribute layout=nodiskalign to the growby command if you
want the subdisks to be grown using contiguous disk space.
Shrinking to a Given Length
To shrink a volume to a specific length, use the following command:
# vxassist shrinkto volume length
For example, to shrink volcat to 1300 sectors, use the following
command:
# vxassist shrinkto volcat 1300
CAUTION Do not shrink the volume below the current size of the file system or
database using the volume. The vxassist shrinkto command can be safely
used on empty volumes.
Shrinking by a Given Length
To shrink a volume by a specific length, use the following command:
# vxassist shrinkby volume length
For example, to shrink volcat by 300 sectors, use the following command:
# vxassist shrinkby volcat 300