Veritas Volume Manager – vxassist

Veritas Volume Manager – 2 covers vxassist command for volume
management .
vxassist utility in Veritas Volume Manager is used to create volumes, add mirrors and logs to existing volumes, extend and shrink existing volumes, provides for the migration of data from a specified set of disks, and provides facilities for the on-line backup of existing volumes.
The default behavior of vxassist is to create volumes in the rootdg diskgroup if diskgroup is not specified . The default length is taken as number of blocks but this can be specified in Kilobytes or Megabytes or Gigabytes.

About Vxassist
1. Creating a Volume
    1.1 Creating a Concatenated Volume
    1.2 Creating a Striped Volume
    1.3 Creating a RAID-5 Volume
2. Extending a Volume
    2.1 Extending a volume up to certain length,
    2.2 Extending by a Given Length
3. Shrinking a Volume
    3.1 Shrinking to a Given Length
    3.2 Shrinking by a Given Length
4. Removing a Volume
5. Mirroring a Volume
    5.1 Creating & Mirroring a New Volume
    5.2 Mirroring an Existing Volume
    5.3 Mirroring All Volumes
6. Removing a Mirror
7. Adding a RAID-5 Log
8. Adding a DRL Log
9.  Removing a RAID-5 Log
10.Preparing a Volume for Online Backup
11.Displaying Volume Configuration Information
12.Next Steps

About vxassist

vxassist command syntax :

vxassist volume_name [attributes]

Commonly used options are given below (See man vxassist for complete list of supported options)
-g for specifying diskgroups
-b for background operation
-d file containing defaults for vxassist if not specified /etc/default/vxassist is used

Keywords used are make , mirror , move , growto ,growby ,shrintto ,shirnkby ,snapstart , snapshot ,snapwait

Attributes specify volumes layout disks controllar to include exclude etc

Device Nodes
Default rootdg disk group.
Block Device Node /dev/vx/dsk/volume_name
Raw Device Node /dev/vx/rdsk/volume_name
Other DiskGroups
Block Device Node /dev/vx/dsk/diskgroup_name/volume_name
Raw Device Node /dev/vx/rdsk/diskgroup_name/volume_name