VERITAS Volume Manager 3.1 Administrator's Guide
Volume Tasks
Resizing a Volume
Chapter 6244
Extending by a Given Length
To extend a volume
by
a specific length, use the following command:
# vxassist growby
volume_name length
For example, to extend volcat by 100 sectors, use the following
command:
# vxassist growby volcat 100
Shrinking to a Given Length
To shrink a volume
to
a specific length, use the following command:
# vxassist shrinkto
volume_name length
For example, to shrink volcat to 1300 sectors, use the following
command:
# vxassist shrinkto volcat 1300
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_name length
For example, to shrink volcat by 300 sectors, use the following
command:
# vxassist shrinkby volcat 300
Resizing Volumes with the vxvol Command
To change the length of a volume using the vxvol set command, use the
following command:
# vxvol set len=
value
...
volume_name
...
For example, to change the length to 100000 sectors, use the following
command:
# vxvol set len=100000 vol01