Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Storage Spaces Troubleshooting

Direct answer

Troubleshoot Storage Spaces with Get-StoragePool, Get-VirtualDisk and Get-PhysicalDisk for health and operational status, Get-StorageJob for repairs, and Repair-VirtualDisk after replacing a failed disk.

When to use this

Use this when Storage Spaces is degraded or unhealthy.

First 30 seconds

1. Degraded: replace disk, then Repair-VirtualDisk.

2. Detached: bring online (Connect-VirtualDisk).

3. Pool read-only: insufficient disks.

4. Stuck jobs: check disks and space.

5. Check event log Microsoft-Windows-StorageSpaces-Driver.

Operational verification

disk → pool → virtual disk → volume

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Repairing before replacing the failed disk when there is no spare capacity.
  • Ignoring storage jobs stuck at a percentage — check for disks with Lost Communication.
  • Not checking enclosure and HBA firmware when several disks fail together.
Platform / version applicability
Windows Storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows Storage
Key commandGet-StoragePool | Get-PhysicalDisk | Sort HealthStatus
Scope / prerequisiteUse this when Storage Spaces is degraded or unhealthy.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Troubleshooting order Narrow the fault

1. Get-VirtualDisk: HealthStatus and OperationalStatus (Degraded, Detached, No Redundancy).

2. Get-PhysicalDisk: which disk is Lost Communication or failing.

3. Get-StorageJob: running repairs and progress.

4. Replace the disk, retire the old one, Repair-VirtualDisk.

5. A Detached virtual disk: Connect-VirtualDisk after fixing the cause; check the event log under Microsoft-Windows-StorageSpaces-Driver.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Repair jobs run in background.
  • Retire and replace failed disks.
  • Full pools take thin disks offline.
Key checks
  • Get-VirtualDisk | ? HealthStatus -ne Healthy — unhealthy spaces
  • Get-StorageJob — running/stuck jobs
  • Get-PhysicalDisk | ? HealthStatus -ne Healthy — bad disks
ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Start with the virtual disk, then the physical disks, then the jobs

Microsoft's Storage Spaces Direct troubleshooting article names the core cmdlets: Get-VirtualDisk for OperationalStatus/HealthStatus, Get-PhysicalDisk for drive health and usage, and Get-StorageJob to monitor repairs.

PS> Get-VirtualDisk | ft FriendlyName,ResiliencySettingName,OperationalStatus,HealthStatus -AutoSize
FriendlyName ResiliencySettingName OperationalStatus HealthStatus
------------ --------------------- ----------------- ------------
VD01         Mirror                No Redundancy     Unhealthy
PS> Get-PhysicalDisk | ft FriendlyName,SerialNumber,MediaType,Usage,OperationalStatus,HealthStatus -AutoSize
PS> Get-StorageJob

Status values from the article

StatusMeaning
No RedundancyA disk failed or data cannot be accessed, often after an unexpected node restart
Detached (HealthStatus Unknown)Usually the dirty region tracking (DRT) log is full; physical disks may look healthy
In Maintenance ModeExpected while a node's storage is in maintenance
Removing from Pool, OKStale remove intent after a failed removal

Documented recovery outlines

  • No Redundancy: remove the virtual disk from CSV, set DiskRecoveryAction to 1 on the Available Storage owner, start the resource, wait for Get-StorageJob to finish and HealthStatus Healthy, set it back to 0, add back to CSV.
  • Detached: set DiskRunChkDsk to 7, start the disk, run the *Data Integrity Scan for Crash Recovery* scheduled task (can take hours, no progress bar), then reset to 0.

Planned maintenance prevents most of this

1. Confirm all virtual disks are Healthy.

2. Suspend-ClusterNode -Drain.

3. Enable-StorageMaintenanceMode for that node's fault domain.

4. Restart; then Disable-StorageMaintenanceMode and Resume-ClusterNode.

5. Wait for Get-StorageJob resync before touching the next node.

The article also stresses certified drives, current firmware/drivers and cluster validation.

*The PowerShell virtual-disk status illustrates a mirror without redundancy, not an observed Windows storage incident.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

SymptomCheck
Virtual disk Degraded / IncompleteGet-PhysicalDisk for lost or failed disks; Repair-VirtualDisk
Virtual disk DetachedNot enough copies available; reconnect disks, Connect-VirtualDisk
Pool read-onlyGet-StoragePool IsReadOnly; often after losing quorum of pool disks
Repair stuckGet-StorageJob; no free capacity for repair
Slow writes on parityExpected; move write-heavy data to mirror
Get-StorageSubSystem | Debug-StorageSubSystem
Get-VirtualDisk | Get-PhysicalDisk | ft FriendlyName,HealthStatus,OperationalStatus
Get-WinEvent -LogName Microsoft-Windows-StorageSpaces-Driver/Operational -MaxEvents 30
ReferenceConfiguration & state1 section · depth on demand

Useful commands

Get-StoragePool | Get-PhysicalDisk | Sort HealthStatus
Get-VirtualDisk | Select FriendlyName,OperationalStatus,HealthStatus
Get-StorageJob
Get-PhysicalDisk | Get-StorageReliabilityCounter | Select DeviceId,Temperature,ReadErrorsTotal,Wear
Get-WinEvent -LogName Microsoft-Windows-StorageSpaces-Driver/Operational -MaxEvents 30
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows Storage current

Authoritative/upstream documentation reviewed for bounded claims in Windows Storage → Storage Spaces → Storage Spaces Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-server/storage/storage · confidence 94%
Confirmation

Confirm action

Continue?