Windows Server: How to Replace a Drive in Microsoft Azure Stack HCI using PowerShell or Windows Admin Center
Riepilogo: This article shows the procedure for replacing a failed drive in a Microsoft Azure Stack HCI cluster using Windows PowerShell or Windows Admin Center.
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
Replacing a drive in Azure Stack HCI is a straightforward procedure that can be accomplished using PowerShell or Windows Admin Center (WAC).
Replace a drive using Windows PowerShell
- On a node of the Azure Stack HCI cluster, launch an elevated PowerShell prompt.
- To enumerate all hard drives that are not in a healthy state, run
Get-PhysicalDisk | Where-Object {$_.HealthStatus -ne "Healthy"}. - To retire all disks identified by the previous command, run
Get-PhysicalDisk | Where-Object {$_.HealthStatus -ne "Healthy"} | Set-PhysicalDisk -Usage Retired. - Run
Get-PhysicalDiskto confirm that the disks specified in the previous step now show Retired in the Usage column. - Run
Get-StorageJobto check whether storage jobs are still in progress. Allow them to finish before proceeding. (This may take a while.) - Physically remove and replace the failed drive.
- Run
Get-PhysicalDiskto confirm the presence of the replacement disk. It should automatically be added to the storage pool, though this may take a short while. - Once the disk has been added to the pool, the
Get-StorageJobcommand can be used to monitor running storage jobs until they have completed.
Replace a drive using Windows Admin Center (WAC)
- Select the cluster in WAC to open the Cluster Manager feature.
- Click Drives in the left pane, then click Inventory to enumerate the drives in the cluster.
- Select the drive to be replaced and click Retire in the bar above the inventory list. Click Retire in the popup window to confirm. The drive's Status column will now show that it has been retired.
- Physically remove and replace the drive.
- Refresh the drive inventory in WAC. The replacement drive should now be listed, though it may not yet be in the storage pool. This happens automatically, but it may take a short while.
- Continue refreshing the drive inventory list until the old drive has disappeared from the list and the new drive has been added to the storage pool.
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.