Users Guide

enough physical disks in existing storage enclosures to spread the new data copies in a method which
satisfies the enclosure awareness requirements.
PowerShell command for adding a new physical disks to an existing pool.
Add-PhysicalDisk -StoragePoolFriendlyName <poolName> -PhysicalDisks
<physicalDiskObject> -Usage AutoSelect
PowerShell command for extending a VD.
Resize-VirtualDisk –FriendlyName <vdName> -Size <newVDSize>
PowerShell command for extending a volume.
Resize-Partition –DiskNumber <diskNumber> -Size <newVolumeSize>
For example,
A physical disk which is labeled PhysicalDisk13 is assigned to variable $pd. The disk is then added to
an existing pool MyPool1 with the Usage attribute set to AutoSelect. A VD 2wayVD1 is 30 GB and
currently exists in the pool. The VD is extended to 60 GB. Finally, the volume must be extended to match
the new VD size.
$pd = Get-PhysicalDisk –CanPool $true -FriendlyName PhysicalDisk13
Add-PhysicalDisk -StoragePoolFriendlyName "MyPool1" -PhysicalDisks $pd -Usage
AutoSelect
Resize-VirtualDisk –FriendlyName 2wayVD1 –Size 60GB
$vd = Get-VirtualDisk -FriendlyName 2wayVD1
$diskNum = Get-Disk –VirtualDisk $vd
$partNum = Get-Partition –DiskNumber $diskNum.Number
$size = Get-PartitionSupportedSize –DiskNumber $diskNum.Number
Resize-Partition –DiskNumber $diskNum.Number –PartitionNumber
$partNum.PartionNumber –Size $size.SizeMax
28