December 21, 2024
100220_2029_HowtoExpend6.png
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.

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

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

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

  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.

  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

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

    Get-VirtualDisk CSV01 | Get-StorageTier

    Get-VirtualDisk

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

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

Hope you enjoy this post.

Cary Sun

Twitter: @SifuSun

Web Site: carysun.com

Blog Site: checkyourlogs.net

Blog Site: gooddealmart.com

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