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

NOTE:
You can use the By to directly define the expansion size. Alternatively, the Size (in MB) determines,
with the Extend (in percent) , by how much to expand the partition. In this case, the expansion size
is determined by the multiplication of the Size and Extend arguments.
This command is currently valid only for primary partitions on Windows 2003/2008.
Do not run this command with Windows Disk Manager open.
The total extended size is in 1 GB increments.
Examples
To extend a partition by 500 MB:
ExpandPartition -Drive Q:, -By 500, -StoragePool pool
To extend a 5000 MB partition by 20 percent:
ExpandPartition -Drive Q:, -Size 5000, -Extend 20, ~
-StoragePool pool
ExpandVirtualDisk command
Syntax
ExpandVirtualDisk -Virtualdisk VirtualDiskName, ~
-StoragePool PoolName1 MBfromPool1, ~
[-StoragePool PoolName2 MBfromPool2,] ~
[-StoragePool PoolName3 MBfromPool3,] -timeout 900
Description
Expands the capacity of an existing VSM virtual disk. For each storage pool, supply the amount of
capacity (in MB) to allocate from this storage pool (MbfromPool). The amount in MB should be a
positive value.
NOTE:
A virtual disk with PiTs on it, or one which is in a synchronous mirror group, cannot be expanded.
ExpandVirtualDiskOnThisComputer command
Syntax
ExpandVirtualDiskOnThisComputer -VirtualDisk VirtualDiskName, ~
-StoragePool PoolName1 MBfromPool1, ~
[-StoragePool PoolName2 MBfromPool2,] [-StoragePool PoolName3 MBfromPool3,] ~
-timeout 900
Using the VSM command line interface30