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

NOTE:
This command is similar to CreateVirtualDisk, but enables you to associate the created
virtual disk to a specific LUN number on each host.
The command is designed for a UDH (user defined host), under the intelligent design framework.
If the LUN number for UDH is set to -1, a LUN is associated automatically to that virtual disk under
the relevant host.
Granularity is fixed at 1024 KB and is the default.
If you want to give permissions to the host, but the LUN number is not important (but still assigned),
the LUN number for the host should be -1. Check the VSM user guide documentation for valid values.
DeleteVirtualDisk command
Syntax
DeleteVirtualDisk -VirtualDisk VirtualDiskName [LastInstance]
Description
Deletes the virtual disk. If the LastInstance flag is used, the preceding virtual disk name is the root
name, and the most recently created virtual disk (with a template name) is the subject of this command.
ExpandPartition command
Syntax
ExpandPartition -Drive H:, -By ExtendByMB, -StoragePool PoolName
or
ExpandPartition -Drive H:, -Size CurrentSizeInMB, ~
-Extend ExtendbyPercent, -StoragePool PoolName
Description
Expands both a VSM virtual disk and its corresponding partition (file system).
NOTE:
A virtual disk with PiTs on it, or a virtual disk in a synchronous mirror group, cannot be expanded.
The drive letter must be followed by a colon or a $ sign.
HP StorageWorks SAN Virtualization Services Platform Manager command line interface user
guide 29