locked
Windows Server 2016 Technical Preview 3 Resize-Partition on VirtualDisk resides on StoragePool RRS feed

  • Question

  • Hi All

    I have deploy Storage Spaces Direct on 4 servers. And extend storage pool with 2 extra disk.  Just like this 

    $disk = Get-PhysicalDisk -CanPool $True

    Add-PhysicalDisk -StoragePoolFriendlyName "CompanyData" -PhysicalDisks $disk

    Next let's extend VirtualDisk resides on StoragePool to maximum size :

    Size remaining

    Get-VirtualDisk HyperVDisk | Get-Disk |Get-Partition |Get-Volume | FT -AutoSize

     

    Resize-VirtualDisk -FriendlyName HyperVDisk -Size xxxx

    Great , but what about Partition ? I can't typicaly extend partition because I need DiskNumber or disk letter in that case my Virtualdisk haven't number.

    Get-VirtualDisk –FriendlyName "HyperVDisk" | Get-Disk

    Number Friendly Name Serial Number                    HealthStatus         OperationalStatus      Total Size Partition
                                                                                                                 Style
    ------ ------------- -------------                    ------------         -----------------      ---------- ----------
           HyperVDisk    {42090d24-a69f-4b67-83ba-b29a... Healthy              Online                    2.73 TB GPT

    It's possible to extend partition ? Or just recreate whole virtualdisk ?

    Thx


    Thursday, February 25, 2016 10:33 AM

Answers