You should use the -g option to specify a disk group to Veritas Volume Manager (VxVM) commands that accept this option. If you do not specify the disk group, VxVM applies rules in the following order until it determines a disk group name:
Use the default disk group name that is specified by the environment variable VXVM_DEFAULTDG. This variable can also be set to one of the reserved system-wide disk group names: bootdg, defaultdg, or nodg.
If the variable is undefined, the following rule is applied.
Use the disk group that has been assigned to the system-wide default disk group alias, defaultdg.
If this alias is undefined, the following rule is applied.
If the operation can be performed without requiring a disk group name (for example, an edit operation on disk access records), do so.
If none of these rules succeeds, the requested operation fails.