Resizing volumes with vxassist

The following modifiers are used with the vxassist command to resize a volume:

growto

Increases the volume size to a specified length.

growby

Increases the volume size by a specified amount.

shrinkto

Reduces the volume size to a specified length.

shrinkby

Reduces the volume size by a specified amount.

Warning:

You cannot grow or shrink any volume associated with an encapsulated root disk (rootvol, usr, var, opt, swapvol, and so on) because these map to a physical underlying partition on the disk and must be contiguous. If you try to grow rootvol, usrvol, varvol, or swapvol, the system could become unbootable if you need to revert back to booting from slices. It can also prevent a successful Solaris upgrade, and you might have to do a fresh install. Theupgrade_start script might also fail.