VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)

Appendix A, Commands Summary
303
Creating and Administering Disk Groups
Command Description
vxdg init diskgroup
[diskname=]devicename
Creates a disk group using apre-initializeddisk.
See “Creating a Disk Group” on page 110.
vxdg -s init diskgroup \
[diskname=]devicename
Creates a shared disk group in a cluster using a
pre-initialized disk. See “Creating a Shared Disk
Group” on page 263.
vxdg [-n newname] deport diskgroup Deports a disk group and optionally renames it.
See “Deporting a Disk Group” on page 113.
vxdg [-n newname] import diskgroup Imports a disk group and optionally renames it.
See “Importing a Disk Group” on page 114.
vxdg [-n newname] -s import diskgroup Imports a disk group as shared by a cluster, and
optionally renames it. See “Importing Disk
Groups as Shared” on page 264.
vxdg [-o expand] listmove sourcedg \
targetdg object ...
Lists the objectspotentiallyaffected bymovinga
disk group. See “Listing Objects Potentially
Affected by a Move” on page 126.
vxdg [-o expand] move sourcedg \
targetdg object ...
Moves objects between disk groups. See
Moving Objects Between Disk Groups” on
page 128.
vxdg [-o expand] split sourcedg \
targetdg object ...
Splits a disk group and moves the specified
objects into the target disk group. See “Splitting
Disk Groups” on page 130.
vxdg [-o expand] join sourcedg targetdg Joins two disk groups and removes the source
disk group. See “Joining Disk Groups” on
page 131.
vxdg -g diskgroup set \
activation=ew|ro|sw|off
Sets the activation mode of a shared disk group
in a cluster. See “Changing the Activation Mode
on a Shared Disk Group” on page 266.
vxrecover -g diskgroup -sb Startsallvolumes inanimported diskgroup.See
Moving Disk Groups Between Systems” on
page 118.
vxdg destroy diskgroup Destroys a disk group and releases its disks. See
Destroying a Disk Group” on page 133.