Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)
Specifying a Disk Group to Commands
134 VERITAS Volume Manager Administrator’s Guide
If none of these rules succeeds, the requested operation fails.
Caution In releases of VxVM prior to 4.0, a subset of commands attempted to deduce the
disk group by searching for the object name that was being operated upon by a
command. This functionality is no longer supported. Scripts that rely on
deducing the disk group from an object name may fail.
Displaying the System-Wide Boot Disk Group
To display the currently defined system-wide boot disk group, use the following
command:
# vxdg bootdg
See the vxdg(1M) manual page for more information.
Displaying and Specifying the System-Wide Default Disk Group
To display the currently defined system-wide default disk group, use the following
command:
# vxdg defaultdg
If a default disk group has not been defined, nodg is displayed. Alternatively, you can use
the following command to display the default disk group:
# vxprint -Gng defaultdg 2>/dev/null
In this case, if there is no default disk group, nothing is displayed.
Use the following command to specify the name of the disk group that is aliased by
defaultdg:
# vxdctl defaultdg diskgroup
If bootdg is specified as the argument to this command, the default disk group is set to be
the same as the currently defined system-wide boot disk group.
If nodg is specified as the argument to the vxdctl defaultdg command, the default
disk group is undefined.
Note The specified diskgroup need not currently exist on the system.
See the vxdctl(1M) and vxdg(1M) manual pages for more information.