vxdg

list

Displays a list of the dynamic disk groups on the computer.

list (CSDG)

Displays a list of the cluster-shared disk groups (CSDGs) on the computer.

dginfo

Displays information about a specified dynamic disk group.

dginfo (CSDG)

Displays information about a specified cluster-shared disk group (CSDG).

init

Creates a dynamic disk group.

init (CSDG)

Creates a cluster-shared disk group (CSDG).

adddisk

Adds a basic disk to a dynamic disk group.

rmdisk

Removes a disk from a dynamic disk group and reverts it back to a basic disk.

import

Imports the specified dynamic disk group on the computer.

import (CSDG)

Imports the specified cluster-shared disk group (CSDG) on the computer.

deport

Deports the specified dynamic disk group on the computer.

destroy

Deletes the specified dynamic disk group on the computer.

protect

Adds private dynamic disk group protection.

release

Removes private dynamic disk group protection.

upgrade

Upgrades the disk group version to the current version (the default) or earlier version of Volume Manager.

repldisk

Replaces the specified disk by moving all the subdisks to a spare disk.

split

Splits the specified dynamic disk group into two dynamic disk groups.

recover

Recovers a dynamic disk group that fails because of a system crash or other problem during a dynamic disk group split operation.

join

Joins two dynamic disk groups into one larger dynamic disk group.

reclaim

Reclaim storage space from thin provisioned disks in a dynamic disk group.

reclaimcancel

Immediately cancel reclaim operation

refreshff

Refreshes the disk group state on the system to support the new Deported Read-Only state for fast failover.

A dynamic disk group is identified by -g<DynamicDiskGroupName>, such as DynDskGrp1 or by its dynamic disk group ID (DgID). The DgID is an internal number assigned to the disk group. It can be viewed through the vxdg list or vxdg dginfo command.

<DiskName> or p#c#t#l# (where the #s corresponds to the port, channel, target, and LUN of a disk) identifies a disk that is added or removed.

In early releases of Volume Manager for Windows, using vxdg adddisk to add the first basic disk to a dynamic disk group automatically created the first dynamic disk group (known as the primary dynamic disk group). If you then used vxdg adddisk to specify adding a disk to a dynamic disk group with a new name, a secondary dynamic disk group was formed. You must use the vxdg init command to create a dynamic disk group. The vxdg adddisk command now only adds disks to the dynamic disk groups that have already been created.

Note:

In all versions of Volume Manager, occasionally if volumes arrived after commands like import, init, adddisk, and join are completed, subsequent commands like associating a drive letter might fail. However, in the Storage Foundation for Windows, these commands wait until the volumes are ready to be used. If the volumes take a very long time to arrive (a rare case), the command may timeout so that the script does not hang. Users can use -o timeout=<n> to override the default timeout.

Typing the following sequence for each keyword brings up a description of its syntax:

vxdg <keyword > -?