VERITAS Volume Manager 3.1 Administrator's Guide
Disk Group Tasks
Using Disk Groups
Chapter 5 227
Using Disk Groups
Most Volume Manager commands allow you to specify a disk group using
the –g option. For example, to create a volume in disk group mktdg, use
the following command:
# vxassist
-g mktdg make mktvol 50m
The (block) volume device for this volume is:
/dev/vx/dsk/mktdg/mktvol
The disk group does not have to be specified. Most Volume Manager
commands use object names specified on the command line to determine
the disk group for the operation. For example, to create a volume on disk
mktdg01 without specifying the disk group name, use the following
command:
# vxassist make mktvol 50m mktdg01
Many commands work this way as long as two disk groups do not have
objects with the same name. For example, the Volume Manager allows
you to create volumes named mktvol in both rootdg and in mktdg.
Remember to add –g mktdg to any command where you want to
manipulate the volume in the mktdg disk group.