Increasing or decreasing the size of a volume is an operation that can be performed while a volume is online.
The following vxassist operations are available for resizing a volume:
You can specify the length argument in sectors, kilobytes, megabytes, gigabytes or as a percentage by adding the unit of measure as a suffix (s, m, k, g, t, p, e or %) to the length value. If no unit is specified, sectors are assumed.
If the volume that is being resized has any linked mirror volumes, these mirror volumes are also resized in the same operation. However, any full-sized snapshots that have been broken-off are not resized, and new snapshots must be created. Space-optimized instant snapshots are not affected as they are not full-sized versions of their parent volumes.
See About administration of instant snapshots.
vxassist to resize a volume, do not shrink it below the size of the file system that is located on it. If you do not shrink the file system first, you risk unrecoverable data loss. If you have a VxFS file system, shrink the file system first, and then shrink the volume. Other file systems may require you to back up your data so that you can later recreate the file system and restore its data. Alternatively, you can use the vxresize command to resize both the volume and its file system where this is supported. See the vxresize(1M) manual page for more information.
If you use the vxassist command to resize application volumes of type fsgen or raid5, you must specify the -f (force) option to the command. You must also specify the -f option if growing a volume would violate any rules.