HP StorageWorks SAN Virtualization Services Platform Manager command line interface user guide (AG781-96016, March 2009)

Virtual disk group commands
AddVirtualDiskToVDGroup command
Syntax
AddVirtualDiskToVDGroup -Group VDGName, [-Drive H:,] ~
-VirtualDisk VirtualDiskName
Description
Adds a virtual disk to a virtual disk group. This command cannot be used for a virtual disk group with
AsyncMirror defined on it (use the AddVirtualDiskToVDGWithAsyncMirror command instead).
The optional -Drive is valid only for Windows 2003/2008. If specified, the file system defined on
the virtual disk is expanded at the end of the operation.
NOTE:
All the virtual disks of the virtual disk group must have RW permissions to exactly the same hosts.
If any member of the group is clustered, then all members of the group must have the cluster bit
set. If any member is presented to two or more hosts, then all members of the group must set the
cluster bit.
This operation is allowed, even if PiTs are defined on the virtual disk group.
If the -Drive is specified, all virtual disks in the virtual disk group must be defined in Windows
as dynamic disks (to allow the file system to span multiple disks).
The optional -Drive is the drive of the mounted virtual disk. On Windows, the actual drive letter
ends with a colon.
AddVirtualDiskToVDGWithAsyncMirror command
Syntax
AddVirtualDiskToVDGWithAsyncMirror -Group VDGName, ~
-MirrorGroup AsyncMirrorGroupName, ~
[-Drive H:,] -VirtalDisk SourceVirtualDiskName, ~
-Destination DestinationVirtualDiskName [TEMPLATE], ~
-StoragePool DestinationPoolName [, -Thin 0|1]
Description
Adds a virtual disk to a virtual disk group with AsyncMirror defined on it. The AsyncMirror group
must contain only one single task.
The optional -Drive is valid only for Windows 2003/2008. If specified, the file system defined on
the virtual disk is expanded at the end of the operation.
Using the VSM command line interface44