How to Expand a CSV in Azure Stack HCI or S2D using Windows Admin Center and PowerShell.

Summary: How to expand a CSV or VirtualDisk in S2D using Powershell and Windows Admin Center (WAC).

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

  1. Get a list of the virtual disks by running the following command:
Get-VirtualDisk
  1. Use the list to find the name of the virtual disk that must be expanded with command: 
Get-VirtualDisk [friendly_name] | Resize-VirtualDisk -Size [New Size]
  1. Expand the volumes by running the following three commands:
$VirtualDisk = Get-VirtualDisk [friendly_name]
$Partition = $VirtualDisk | Get-Disk | Get-Partition | Where PartitionNumber -Eq 2
$Partition | Resize-Partition -Size ($Partition | Get-PartitionSupportedSize).SizeMax
  1. Run the following command and verify that the volume has expanded:
    Get-Volume
This can also be done more easily by using Windows Admin Center (WAC). 
  1. In WAC, go to the Dashboard of the cluster. 
  2. Choose Volumes in the left-hand column.
  3. Choose Inventory in the right-hand window.
  4. Click the checkbox next to the volume that must be expanded.
  5. Choose Settings from the list of options above.
  6. Set the new size for the volume. 
  7. Click Expand. It expands the disk and the volume for you. 

Additional Information

Refer to this video:

Affected Products

Dell EMC Cloud For Microsoft Azure Stack, Dell Hybrid Cloud System for Microsoft, Microsoft Windows Server 2016

Products

Microsoft Windows Server 2016, Microsoft Windows Server 2019, Microsoft Windows Server 2022
Article Properties
Article Number: 000195872
Article Type: How To
Last Modified: 02 Jun 2023
Version:  7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.