Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009

Resizing a volume
You can resize volumes that do not contain file systems (volume type gen). If an
application is using the volume to store data, use the appropriate utility to reduce
the size of the data object before reducing the size of the volume, or to increase
the size of the data object after increasing the size of the volume.
For volumes that contain file systems (volume type fsgen), use the vxresize
command to change both the size of the file system and the volume.
Use the following command to grow a volume by 5 GB:
# vxassist -g exdg growby vol1 5g
Use the following command to grow an existing 10 GB volume to 15 GB without
using disks from the enclosure e1:
# vxassist -g exdg growto vol1 15g \
use_storage='noneof("Enclosure"="e1")'
Use the following command to shrink a volume by 10%:
# vxassist -g exdg growby vol1 10%
Use the following command to shrink an existing 15- GB volume to 10 GB:
# vxassist -g exdg shrinkto vol1 10g
Adding or removing mirrors
Use the following command to add a mirror to an existing volume:
# vxassist -g exdg mirror vol1
Use the following command to add two mirrors to a volume:
# vxassist -g exdg mirror vol1 nmirror=2
Use the following command to add a mirror to the volume vol1, where the new
mirror is like the existing plex p1:
# vxassist -g exdg mirror vol1 plexname=p1
Use the following command to remove a mirror from a volume:
# vxassist -g exdg remove mirror vol1
Use the following command to remove the plex p1 from the volume v1:
Examples of using ISP
Resizing a volume
228