Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

If a volume cannot be enabled, it remains in its current state.
To start all DISABLED or DETACHED volumes in a disk group, enter the following:
# vxvol -g diskgroup startall
To start a DISABLED volume, enter the following:
# vxrecover -g diskgroup -s volume ...
To start all DISABLED volumes, enter the following:
# vxrecover -s
To prevent any recovery operations from being performed on the volumes,
additionally specify the -n option to vxrecover.
Resizing a volume
Resizing a volume changes its size. For example, if a volume is too small for the
amount of data it needs to store, you can increase its length . To resize a volume,
use one of the following commands: vxresize (preferred), vxassist, or vxvol.
If you increase a volume's size, the vxassist command automatically locates
available disk space. The vxresize command lets you optionally specify the LUNs
or disks to use to increase the size of a volume. The vxvol command requires that
you have previously ensured that there is sufficient space available in the plexes
of the volume to increase its size. The vxassist and vxresize commands free
unused space for use by the disk group. For the vxvol command, you must do this
yourself. To determine how much you can increase a volume, use the following
command:
# vxassist [-g diskgroup] maxgrow volume
When you resize a volume, you can specify the length of a new volume in sectors,
kilobytes, megabytes, or gigabytes. The unit of measure is added as a suffix to the
length (s, m, k, or g). If you do not specify a unit, sectors are assumed. The vxassist
command also lets you specify an increment by which to change the volumes
size.
Warning: If you use vxassist or vxvol to resize a volume, do not shrink it below
the size of the file system 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. For other file systems, you may need to back
up your data so that you can later recreate the file system and restore its data.
351Administering volumes
Resizing a volume