如何使用 Windows 管理中心和 PowerShell 在 Azure Stack HCI 或 S2D 中擴充 CSV。

Summary: 如何使用 Powershell 和 Windows 管理中心 (WAC) 擴充 S2D 中的 CSV 或 VirtualDisk。

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-VirtualDisk
  1. 使用此清單尋找必須使用命令擴充的虛擬磁片名稱: 
Get-VirtualDisk [friendly_name] | Resize-VirtualDisk -Size [New Size]
  1. 執行下列三個命令來擴充磁片區:
$VirtualDisk = Get-VirtualDisk [friendly_name]
$Partition = $VirtualDisk | Get-Disk | Get-Partition | Where PartitionNumber -Eq 2
$Partition | Resize-Partition -Size ($Partition | Get-PartitionSupportedSize).SizeMax
  1. 執行下列命令,並確認磁片區是否已擴充:
    Get-Volume
您也可以使用 Windows 管理中心 (WAC) 更輕鬆地完成這項作業。 
  1. 在 WAC 中,前往叢集的 儀表板 。 
  2. 選擇磁 盤區 i的左側欄。
  3. 在右側視窗中選擇 清查
  4. 按一下必須擴充的磁片區旁的核取方塊。
  5. 從上述選項清單中選擇 「設定」。
  6. 設定磁片區的新大小。 
  7. 按一下 [Expand] (展開)。它會為您擴充磁片和磁片區。 

Additional Information

請參閱此影片:

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.