April 18, 2024
100220 2029 HowtoExpend6 - How to Extend Volumes in Storage Space Direct Cluster
Today, I am going to show you how to Extend Volumes in Storage Space Direct Cluster.

Today, I am going to show you how to Extend Volumes in Storage Space Direct Cluster.

100220 2029 HowtoExpend1 - How to Extend Volumes in Storage Space Direct Cluster

Resize the virtual disk

  1. Login to S2D Cluster server.
  2. Open PowerShell Run as Administrator.
  3. Run follow cmdlet to check Virtual Disk information.

    Get-VirtualDisk

    100220 2029 HowtoExpend2 - How to Extend Volumes in Storage Space Direct Cluster

  4. Run follow cmdlet to get association between objects ion the stack information.

    Get-VirtualDisk CSV01 | Get-Disk | Get-Partition | Get-Volume

    100220 2029 HowtoExpend3 - How to Extend Volumes in Storage Space Direct Cluster

  5. Run follow cmdlet to verify the Virtual Disk use storage tiers, or not use.

    Get-VirtualDisk CSV01 | Get-StorageTier

  6. If the cmdlet returns nothing, the virtual disk doesn’t use storage tiers, run follow cmdlet to Resize Virtual Disks.

    Get-VirtualDisk <FriendlyName> | Resize-VirtualDisk -Size <Size>

  7. If the virtual disk uses storage tiers.

    100220 2029 HowtoExpend4 - How to Extend Volumes in Storage Space Direct Cluster

  8. Run follow cmdlet resize each tier separately. In my case, increate the CSV01-NestedMirror storage tier size from 200GB to 300GB.

    Get-VirtualDisk CSV01 | Get-StorageTier | Select FriendlyName

    Get-StorageTier CSV01-NestedMirror | Resize-StorageTier -Size 300GB

    100220 2029 HowtoExpend5 - How to Extend Volumes in Storage Space Direct Cluster

  9. 9.Run follow cmdlet to verify storage tier size.

    Get-VirtualDisk CSV01 | Get-StorageTier

    Get-VirtualDisk

    100220 2029 HowtoExpend6 - How to Extend Volumes in Storage Space Direct Cluster

Resize the partition

The virtual disk is expected to have two partitions: the first is Reserved and should not be modified; the one you need to resize has PartitionNumber = 2 and Type = Basic.

  1. Run follow cmdlet to resize partition.

    # Choose virtual disk

    $VirtualDisk = Get-VirtualDisk CSV01

    # Get its partition

    $Partition = $VirtualDisk | Get-Disk | Get-Partition | Where PartitionNumber -Eq 2

    # Resize to its maximum supported size

    $Partition | Resize-Partition -Size ($Partition | Get-PartitionSupportedSize).SizeMax

    100220 2029 HowtoExpend7 - How to Extend Volumes in Storage Space Direct Cluster

  2. Verify the Volume size status from Storage Disks of Failover Cluster Manager.

    100220 2029 HowtoExpend8 - How to Extend Volumes in Storage Space Direct Cluster

Hope you enjoy this post.

Cary Sun

Twitter: @SifuSun

Web Site: carysun.com

Blog Site: checkyourlogs.net

Blog Site: gooddealmart.com

ca16fbd3199de5f66b829b87082fb970?s=80&d=retro&r=g - How to Extend Volumes in Storage Space Direct Cluster

Author: Cary Sun

Cary Sun has a wealth of knowledge and expertise in data center and deployment solutions. As a Principal Consultant, he likely works closely with clients to help them design, implement, and manage their data center infrastructure and deployment strategies.
With his background in data center solutions, Cary Sun may have experience in server and storage virtualization, network design and optimization, backup and disaster recovery planning, and security and compliance management. He holds CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1999. Cary is also a Microsoft Most Valuable Professional (MVP), Microsoft Azure MVP, Veeam Vanguard and Cisco Champion. He is a published author with several titles, including blogs on Checkyourlogs.net, and the author of many books.
Cary is a very active blogger at checkyourlogs.net and is permanently available online for questions from the community. His passion for technology is contagious, improving everyone around him at what they do.

Blog site: https://www.checkyourlogs.net
Web site: https://carysun.com
Blog site: https://gooddealmart.com
Twitter: @SifuSun
in: https://www.linkedin.com/in/sifusun/
Amazon Author: https://Amazon.com/author/carysun