VERITAS Volume Manager 3.1 Administrator's Guide

Volume Manager Operations
Common Volume Manager Commands
Chapter 3132
The vxassist command typically takes the following form:
# vxassist
keyword volume_name [attributes...]
Select the specific action to perform by specifying an operation keyword
as the first argument on the command line. For example, the keyword for
creating a new volume is make. You can create a new volume by entering:
# vxassist make
volume_name length
The first argument after any vxassist command keyword is always a
volume name. Follow the volume name witha set of attributes. Use these
attributes to specify where to allocate space and whether you want
mirroring or striping to be used.
You can select the disks on which the volumes are to be created by
specifying the disk names at the end of the command line. For example,
to create a 30 megabyte striped volume on three specific disks (disk03,
disk04, and disk05), enter:
# vxassist make stripevol 30m layout=stripe disk03
disk04\disk05
The vxassist command defaults are listed in the file
/etc/default/vxassist. The defaults listed in this file take effect if
there is no overriding default specified on the vxassist command line.
The vxassist command performs the following tasks:
finds space for and creates volumes
finds space for and creates mirrors for existing volumes
finds space for and extends existing volumes
shrinks existing volumes and returns unused space
provides facilities for the online backup of existing volumes
provides an estimate of the maximum size for a new or existing
volume
For more information, see the vxassist(1M) manual page.
Advantages of the vxassist Command NOTEThe vxassist command is
required
for
vxrelayout.