大网数据广告活动
磁盘与文件系统

Replace failed drives on Azure Local

· 52CE 我爱测

How to replace failed drives on Azure Local.

Azure Local works with direct-attached SATA, SAS, NVMe, and persistent memory drives that are physically attached to a single server. Storage Spaces Direct automatically retires and evacuates failed drives. As a result, the drive status is marked as Retired, and its storage capacity bar is empty.

If a drive fails, you need access to the physical server hardware to replace it.

Find the alert

When a drive fails, an alert appears in the upper Alerts area of the Windows Admin Center Dashboard.

  1. In Windows Admin Center, select the alert to see details, like the drive's physical location.
  2. To see more details, select Drives under Tools in the left pane to browse drives and see their status. On the Inventory tab, you can sort, group, and search across drives.
  3. If your hardware supports it, you can select Light On or Light Off to control the drive's indicator light.
  4. Physically remove the failed drive and insert its replacement.

Wait for the alert to clear

In Windows Admin Center, under the Drives > Inventory tab, the new drive appears. In time, the alert clears, volumes repair back to OK status, and storage rebalances onto the new drive automatically.

Troubleshooting

If the new drive isn't added to the pool, it may be because AutoPool is disabled. To determine, run the following PowerShell command as administrator:

Get-StorageSubsystem Cluster* | Get-StorageHealthSetting | select "System.Storage.PhysicalDisk.AutoPool.Enabled"

If the value is True, AutoPool is enabled. If the value is False, AutoPool is disabled. You have two options to resolve the issue:

Option A

This option leaves AutoPool disabled and manually adds the disks to the storage pool. Run the following series of PowerShell commands as administrator:

Run the following and verify the new physical disk is listed with OperationalStatus is OK, and HealthStatus is Healthy.

Get-PhysicalDisk -CanPool $true

Next, run the following command and make a note of the FriendlyName of the storage pool that you want to add the disk to. If it's a stretched cluster, you should see more than one pool name:

Get-StoragePool -IsPrimordial $False

Next, run the following command:

$disks = Get-PhysicalDisk -CanPool $true

Lastly, run the following command:

Add-PhysicalDisk -StoragePoolFriendlyName "FriendlyName_from_step2" -PhysicalDisks $disks

Option B

This option enables AutoPool and lets the Health service add the disk to the pool. Run the following PowerShell command as administrator:

Get-StorageSubsystem Cluster* | Set-StorageHealthSetting -Name "System.Storage.PhysicalDisk.AutoPool.Enabled" -Value True

Next steps

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
[ "✅ Windows Server 2025", "✅ Windows Server 2022", "✅ Windows Server 2019", "✅ Windows Server 2016", "✅ Azure Local 2311.2 and later" ] · Source date…
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。