In this blog post I will show you how to resize a Storage Space AKA virtual disk based on Storage Spaces Direct.The first thing is to understand that Multi-Resilient volumes are created differently comparing to a Parity or Mirror volume. A Multi-Resilient volume makes use of two tiers instead of one and therefore when expanding you need to expand multiple tiers.
Resize the volume
In this example I am using a Multi-Resilient disk.
As you can see below I have one virtual disk in the cluster named “Disk1” with a capacity of 1000GB.
Next get the StorageTiers bound to the virtual disk “Disk1” with Powershell and show the size in GBs:
Aha, we can see the two StorageTiers that are bound to the virtual disks called “Disk1”
So I have 900GB in my Capacity tier and 100GB in my Performance tier which sums to 1000GB.
In this case I want to resize my storagetiers +100%, so making the performance tier 200GB and the capacity tier 1800GB.You can resize storagetiers using the Resize-StorageTier cmdlet.
Get-VirtualDisk "Disk1" | Get-StorageTier | ? Friendlyname -eq "Disk1_Performance" | Resize-StorageTier -Size 200GB
After the commands complete, we run the Get-StorageTier cmdlet again to see the changes in the capacity.
Now that the tiers are resized we have come to the following scenario:
We can also check this with Powershell and confirm this:
Get-VirtualDisk "Disk1"| Get-Disk | Get-Partition | Where Type -eq Basic | FT Size
Get-VirtualDisk "Disk1"| Get-Disk | Get-Partition | Where Type -eq Basic | Get-PartitionSupportedSize
As you can see the virtual disk is already 2000GB, the partition is still 1000GB and the maximum size of the partition can be 2000GB. Once the virtual disk is expanded, you also will have to expand the partition.
And the result shows in Failover Cluster Manager:
—
Thank you for reading my blog.
If you have any questions or feedback, leave a comment or drop me an email.
Darryl van der Peijl
http://www.twitter.com/DarrylvdPeijl
Kaip idomu!
Thanks! This really was the resize command i was looking for.
is it possible to resize parity volume ?
Great Post!
Very clear and concise, right to the point….
Awesome Job!