![]() |
![]() |
![]() |
![]() |
![]() |
It is recommended that you use the -g
option to specify a disk group to VxVM commands that accept this option. If you do not specify the disk group, VxVM applies the following rules in order until it determines a disk group name:
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.
defaultdg
. If this alias is undefined, the following rule is applied.
See "Displaying and specifying the system-wide default disk group" on page 178.
If none of these rules succeeds, the requested operation fails.
To display the currently defined system-wide boot disk group, use the following command:
To display the currently defined system-wide default disk group, use the following command:
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
:
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.
The specified disk group is not required to exist already on the system.
See the vxdctl
(1M) manual page.