Windows Server:如何使用 PowerShell 或 Windows Admin Center 更換 Microsoft Azure Stack HCI 中的磁碟機
Riepilogo: 本文說明使用 Windows PowerShell 或 Windows Admin Center,更換 Microsoft Azure Stack HCI 叢集中故障磁碟機的程序。
Questo articolo si applica a
Questo articolo non si applica a
Questo articolo non è legato a un prodotto specifico.
Non tutte le versioni del prodotto sono identificate in questo articolo.
Istruzioni
更換 Azure Stack HCI 中的磁碟機是一個簡單的程序,可使用 PowerShell 或 Windows Admin Center (WAC) 完成。
使用 Windows PowerShell 更換磁碟機
- 在 Azure Stack HCI 叢集的節點上,啟動提升權限的 PowerShell 提示。
- 若要列舉處於不正常狀態的所有硬碟驅動器,請執行
Get-PhysicalDisk | Where-Object {$_.HeathStatus -ne "Healthy"}。 - 若要淘汰上一個命令識別的所有磁碟,請執行
Get-PhysicalDisk | Where-Object {$_.HealthStatus -ne "Healthy"} | Set-PhysicalDisk -Usage Retired。 - 執行
Get-PhysicalDisk以確認在上一步中指定的磁碟現在在“使用方式”列中顯示 “已停用 ”。 - 執行
Get-StorageJob檢查存儲作業是否仍在進行中。請等候他們完成之後再繼續。(這可能需要一些時間)。 - 實體卸下並更換故障的磁碟機。
- 執行
Get-PhysicalDisk以確認替換磁碟是否存在。它應該會自動添加到存儲池中,儘管這可能需要一小段時間。 - 將磁碟新增至集區後,
Get-StorageJob命令可用來監視執行中的儲存工作,直到其完成為止。
使用 Windows Admin Center (WAC) 更換磁碟機
- 在 WAC 中選擇群集以打開群集管理器功能。
- 按一下左窗格中 的磁碟機 ,然後按 一下清查 以列舉叢集中的磁碟機。
- 選取要更換的磁碟機,然後按一下清查清單上方列中的 淘汰 。在彈出式視窗中按一下 淘汰 以確認。磁碟機的「狀態」欄現在會顯示其已淘汰。
- 實際卸下並裝回磁碟機。
- 刷新 WAC 中的驅動器清單。現在應會列出替換的磁碟機,儘管它可能尚未在儲存集區中。這會自動發生,但可能需要一小段時間。
- 繼續重新整理磁碟機清查清單,直到舊磁碟機從清單中消失,且新磁碟機已新增至儲存集區為止。
Prodotti interessati
Microsoft Windows Server 2019, Microsoft Windows Server 2022Proprietà dell'articolo
Numero articolo: 000193620
Tipo di articolo: How To
Ultima modifica: 22 mag 2025
Versione: 8
Trova risposta alle tue domande dagli altri utenti Dell
Support Services
Verifica che il dispositivo sia coperto dai Servizi di supporto.