About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.
When Get-VirtualDisk shows a virtual disk with HealthStatus Warning and OperationalStatus {Degraded, Incomplete}, Microsoft's page says "one or more copies of your data are unavailable, but Storage Spaces can still read at least one copy of your data." The data is still readable but the resilience is reduced. Find which physical disk is missing or failed, reconnect or replace it, and on a standalone server run Repair-VirtualDisk; then watch Get-StorageJob until the repair finishes.
What the symptom means
Microsoft describes three operational states under Warning:
- In service: "Windows is repairing the virtual disk, such as after adding or removing a drive."
- Incomplete: "The resilience of the virtual disk is reduced because one or more drives failed or are missing. However, the missing drives contain up-to-date copies of your data."
- Degraded: the same, "and there are outdated copies of your data on these drives."
For both Incomplete and Degraded the page's action is the same: reconnect any missing drives, replace any failed drives, and "If you're not using Storage Spaces Direct, next repair the virtual disk using the Repair-VirtualDisk cmdlet." The page adds that Storage Spaces Direct "automatically starts a repair if needed after reconnecting or replacing a drive", so the manual Repair-VirtualDisk step is the standalone case.
Two worse situations exist. Under Unhealthy, No redundancy means "The virtual disk has lost data because too many drives failed", and the action is "Replace failed drives and then restore your data from backup." Among the detached states, Majority Disks Unhealthy means "Too many drives used by this virtual disk failed, are missing, or have stale data." and a detached Incomplete means "Not enough drives are present to read the virtual disk." For the planning argument about resiliency and backups, see Storage Spaces on a standalone server: a mirror is not a backup, and the pool states tell you which problem you have.
The physical disk's own state explains the virtual disk's state. The page lists, among others, Lost communication ("The drive is missing"), Predictive failure ("Replace the drive"), IO error and Transient error (temporary), Failed media ("The drive failed and won't be used by Storage Spaces anymore."; the action is "Replace the drive.") and Device hardware failure.
Likely causes
| Cause | What you see | How to confirm |
|---|---|---|
| Drive missing or disconnected | Virtual disk Incomplete; physical disk Lost communication | Get-PhysicalDisk shows the state; check cables, enclosure and slot |
| Drive failed | Virtual disk Degraded; physical disk Failed media, Device hardware failure or Predictive failure | Physical disk state; the System log entry from provider disk (see below) |
| Transient drive error | Physical disk IO error or Transient error | State returns to OK, or recurs |
| Repair already running | Virtual disk In service | Get-StorageJob lists a job |
| Too many drives lost | Unhealthy, No redundancy | Virtual disk health; restore from backup |
Prove the cause before changing anything
All of these only read. Run them in an elevated PowerShell session on the server.
1. Read the virtual disk states. The page gives this command:
Get-VirtualDisk | Select-Object FriendlyName,HealthStatus, OperationalStatus, DetachedReason
Its example shows Volume2 with Warning and {Degraded, Incomplete} and DetachedReason None.
2. Read the pool.
Get-StoragePool -IsPrimordial $False | Select-Object HealthStatus, OperationalStatus, ReadOnlyReason
3. Find the physical disks that are not healthy. The 2012 R2 procedure uses this form:
Get-PhysicalDisk | Where-Object -Property HealthStatus -ne Healthy
Note FriendlyName, UniqueId, OperationalStatus and the serial number, then match the disk to a slot with the server or enclosure vendor's tools.
4. Look for a running repair. The cmdlet page describes Get-StorageJob as returning information about "long-running Storage module jobs, such as a repair operation on a storage space."
Get-StorageJob
If a job named Regeneration is Running, wait for it before changing anything.
5. Check which physical disks a virtual disk uses. Microsoft's page for Storage Spaces on Windows Server hosted in Azure gives:
Get-VirtualDisk -UniqueId <UniqueID> | Get-PhysicalDisk
6. Read the System log. The 2012 R2 page lists event 154 from provider disk: The IO operation at logical block address <LBA> for Disk <Disk Number> (PDO name: <PDO Name>) failed due to a hardware error. The page says it is logged when "A fatal hardware error is reported by the device."
Fix
Protect the data first
Check that a current backup exists and has been test-restored before you change the pool (our own advice; Microsoft's action for No redundancy is to restore from backup, which is only possible if one exists). Our own advice: a repair makes the remaining disks work hard. The 2012 R2 page says one failure is often followed by others.
Case 1: the drive is missing or in a transient state
Microsoft's action for a missing drive is to reconnect it. The 2012 R2 page says "Occasionally, simply reseating a “failed” disk in the same slot will clear the issue that caused the disk to fail". Reconnecting or reseating is a hardware step. Identify the drive first with a read-only command, and match its serial number to the physical drive:
Get-PhysicalDisk | Format-Table FriendlyName, SerialNumber, HealthStatus, OperationalStatus, Usage
Then save the current state:
Get-PhysicalDisk | Format-List * > physicaldisk-before-reseat.2026-12-02.txt
Disruptive step: the next step disconnects and reconnects a drive that belongs to a degraded pool. Reseating the wrong drive takes a second copy of the data away, and the virtual disk can go offline.
Reconnect or reseat only the drive whose serial number matches your record, in the same slot.
To back out: if the wrong drive was disturbed, put it back in the same slot, rescan, and compare Get-PhysicalDisk with physicaldisk-before-reseat.2026-12-02.txt.
When Get-PhysicalDisk shows the state back to OK, the virtual disk still needs the repair step below. The states page also lists Reset-PhysicalDisk for IO or transient errors, but it wipes the drive and the page gives no way to undo it, so it is not covered here.
Case 2: the drive has failed
The 2012 R2 page warns: "After a physical disk fails, do not remove the drive from the storage pool configuration until after you replace the physical disk in the storage enclosure." Changing the pool first "can cause an I/O failure or initiate virtual disk repair, which can result in a “STOP 0x50” error and potential data loss." So the order is: replace the disk, add the new one, retire the old one, repair, then remove.
Replace the physical disk
First save the current state:
Get-PhysicalDisk | Format-List * > physicaldisk-before.2026-12-02.txt
Disruptive step: the next step takes a physical disk out of the server or enclosure and fits another. If you pull the wrong disk while a mirror is already degraded, a second copy is lost and the virtual disk can go offline. Identify the disk by serial number first.
Replace the disk following your hardware vendor's instructions, one failed disk at a time. The 2012 R2 page says not to reuse a disk from another pool: "We recommend that you not replace a failed disk with a previously used disk."
To back out: refit the original disk in the original slot, rescan, and compare Get-PhysicalDisk with physicaldisk-before.2026-12-02.txt.
Add the replacement disk to the pool
The 2012 R2 page adds the new disk before removing the old one, because removal needs spare capacity. First save the current state:
Get-StoragePool -IsPrimordial $False | Format-List * > storagepool-before.2026-12-02.txt
Disruptive step: the next command adds a physical disk to the storage pool, so Storage Spaces starts using it. The 2012 R2 page recommends adding a disk with -Usage Automatic to start an automatic repair of the spaces that depend on it, so a repair can begin when the disk is added. The page gives no way to undo the add except removing the disk with Remove-PhysicalDisk, which has its own warning below. Select the right disk first:
Get-PhysicalDisk -CanPool $True
The result should include the new disk. Then add it, using the form on the cmdlet page:
$PDToAdd = Get-PhysicalDisk -FriendlyName PhysicalDisk5
Add-PhysicalDisk -PhysicalDisks $PDToAdd -StoragePoolFriendlyName Pool01
To back out: only Remove-PhysicalDisk is documented; do not run it until you have read the removal step below.
Retire the failed disk
Microsoft's page for Storage Spaces on Windows Server hosted in Azure retires the disk with its unique ID. The 2012 R2 page says "In most cases, a failed disk is retired automatically", so read the Usage value of the failed disk first and skip the command below if it already shows Retired. If it does not, first save the current state, and note the Usage value of the failed disk:
Get-PhysicalDisk | Format-List * > physicaldisk-before-retire.2026-12-02.txt
Disruptive step: the next command sets the failed disk's usage to Retired, which tells Storage Spaces to stop placing new data on it.
Set-PhysicalDisk -UniqueId <UniqueID> -Usage Retired
To back out, before any repair has run: set Usage back to the value in the saved file, for example Set-PhysicalDisk -UniqueId <UniqueID> -Usage AutoSelect, then run Get-PhysicalDisk and compare.
Repair the virtual disk
First save the current state:
Get-VirtualDisk | Format-List * > virtualdisk-before.2026-12-02.txt
Disruptive step: the next command starts a repair of the virtual disk. Storage Spaces copies data to rebuild redundancy, which loads every disk in the pool. The 2012 R2 page says the repair after removing a disk "can take a long time", for example 12 hours or longer after a full 4 TB disk fails. Microsoft's repair pages give no way to undo or stop it. Select the exact virtual disk first:
Get-VirtualDisk -FriendlyName Volume2
Then repair it, using the example form on the cmdlet page:
Repair-VirtualDisk -FriendlyName Volume2
Check progress with Get-StorageJob, which in Microsoft's example lists Regeneration with JobState Running and PercentComplete.
Remove the retired disk
Confirm the retired disk no longer holds data. Microsoft's page for Storage Spaces on Windows Server hosted in Azure shows VirtualDiskFootprint of 0 for a retired disk that is empty:
Get-StorageNode -Name "<StorageNodeName>" | Get-PhysicalDisk -PhysicallyConnected | Select FriendlyName, CanPool, UniqueID, Usage, VirtualDiskFootprint
First save the current state:
Get-PhysicalDisk | Format-List * > physicaldisk-before-remove.2026-12-02.txt
Disruptive step: the next command removes the physical disk from the storage pool. The cmdlet page says "If sufficient space does not exist in the storage pool to tolerate this removal, then data loss can result". The page gives no way to undo it. Do not run it until the repair job has finished and the footprint is 0.
$PDToRemove = Get-PhysicalDisk -UniqueID <UniqueID>
Remove-PhysicalDisk -PhysicalDisks $PDToRemove -StoragePoolFriendlyName "<StoragePoolName>"
Example (illustrative): fs01 has pool Pool01 and mirrored virtual disk Volume2. Get-VirtualDisk shows Volume2 as Warning with {Degraded, Incomplete}; Get-PhysicalDisk shows one disk, serial EX1234, as Lost communication. After reseating the cable the disk returns, and Repair-VirtualDisk -FriendlyName Volume2 is run. Get-StorageJob shows Regeneration at 41 percent after 90 minutes. A straight-line guess is 90 / 0.41 = 220 minutes in all, so about 130 minutes remain. That is our arithmetic, not a figure from Microsoft.
Confirm the fix
Get-StorageJoblists no running job for the pool.Get-VirtualDiskshowsHealthStatusHealthy andOperationalStatusOK. The page says that when the repair is complete the virtual disk "should return to the OK health state".Get-PhysicalDiskshows no unhealthy disks, and a removed disk showsCanPoolTrue.- The data is readable and a test restore from backup succeeds.
What to watch afterwards
- Read
Get-VirtualDiskandGet-PhysicalDiskregularly, and keep the saved files above. - The 2012 R2 page says "One disk failure often is followed fairly rapidly by other disk failures", and recommends replacing failed disks as soon as you discover them.
- A disk with Predictive failure is a replacement candidate before it fails.
Read next
Related articles you may want next.
- Backup & RecoveryStorage Spaces on a standalone server: a mirror is not a backup, and the pool states tell you which problem you havePlan recovery for standalone Windows Storage Spaces with the right resiliency, health-state evidence, drive identity and independent backups.Read article
- Troubleshootingsmartctl "SMART overall-health self-assessment test result: FAILED!": what the verdict means and what to do firstsmartctl says SMART overall-health self-assessment test result: FAILED!? Protect the data, then read the exit status, attributes and logs.Read article
- Backup & RecoveryFinding a bad backup before the day you need itWhat hashes, signatures and sample restores detect in backups, which faults they miss, and when to treat a copy as unusable.Read article
Risks and limits
- These commands have not been run or lab-tested.
- Microsoft's disk replacement steps come from two pages with different scope: one for Windows Server 2012 R2 and 2012, one for Windows Server hosted in Azure. The cmdlet names are the same on both, but check the syntax on your own version.
- The Storage module pages give no time estimate for a repair; the 4 TB figure belongs to the 2012 R2 page.
- This covers standalone Storage Spaces. Storage Spaces Direct repairs itself.
- If more drives failed than the virtual disk has copies, Microsoft's page says the data is permanently lost; the answer is to restore from backup.
Sources
- Troubleshoot Storage Spaces and Storage Spaces Direct health and operational states — Microsoft Learn, last updated 28 April 2023, accessed 2 December 2026
- Manage disks in standalone Storage Spaces on Windows Server hosted in Azure — Microsoft Learn, last updated 12 February 2026, accessed 2 December 2026
- Replace Failed Disks and Repair JBODs for Storage Spaces in Windows Server — Microsoft Learn, last updated 31 August 2016, accessed 2 December 2026
- Repair-VirtualDisk — Microsoft Learn, no date shown, accessed 2 December 2026
- Get-StorageJob — Microsoft Learn, no date shown, accessed 2 December 2026
- Set-PhysicalDisk — Microsoft Learn, no date shown, accessed 2 December 2026
- Add-PhysicalDisk — Microsoft Learn, no date shown, accessed 2 December 2026
- Remove-PhysicalDisk — Microsoft Learn, no date shown, accessed 2 December 2026
This article was originally published on .