Use this when Storage Spaces reports degraded or unhealthy.
Storage Spaces Troubleshooting
Troubleshoot Windows Storage Spaces with Get-StoragePool, Get-VirtualDisk and Get-PhysicalDisk health states, Get-StorageJob for repairs in progress, and Repair-VirtualDisk after replacing a failed drive.
1. Pool/virtual disk health and operational status.
2. Physical disk failures → retire, replace, repair.
3. Storage jobs progress.
4. Events: StorageSpaces-Driver.
5. Capacity for repair.
disk failure → degraded → repair → healthy
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Get-VirtualDisk | Get-PhysicalDiskPrimary Commands
Configuration and operational commands for this Topic.
Get-VirtualDisk | Get-PhysicalDiskVerifyOperational command for Inspect Storage Spaces virtual and physical disk health. Focus fields: friendly name, health status, operational status, resiliency/media and size.
Use when: Use when working the canonical Topic windows--storage-spaces-storage-spaces-troubleshooting and the matching failure boundary.
Quick note: Known-good: virtual/physical disks report Healthy/OK and match the intended pool membership. Suspicious: degraded/lost communication/retired or unexpected operational states appear in the storage path. Next discriminating check: inspect Get-StoragePool/Get-PhysicalDisk detail and event logs before any repair/rebalance action.
Windows Server / Storage Spaces · serviceGet-StoragePoolVerifyRead-only observation for pool health, operational status and capacity.
Use when: Use when troubleshooting the linked operational Windows boundary.
Quick note: Command ownership closure. Output remains live/runtime evidence and is never pre-populated as captured production state.
Windows / PowerShell · data planeGet-VirtualDiskVerifyRead-only observation for virtual-disk health, resiliency and operational status.
Use when: Use when troubleshooting the linked operational Windows boundary.
Quick note: Command ownership closure. Output remains live/runtime evidence and is never pre-populated as captured production state.
Windows / PowerShell · data planeGet-PhysicalDiskVerifyRead-only observation for physical-disk health, usage and operational status.
Use when: Use when troubleshooting the linked operational Windows boundary.
Quick note: Command ownership closure. Output remains live/runtime evidence and is never pre-populated as captured production state.
Windows / PowerShell · data planeVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verify Storage Spaces pool, virtual-disk resiliency, repair completion and volume I/O Verify boundary
Capture Storage Spaces physical disk, pool and virtual-disk health/operational states plus pool free capacity. After remediation expect every required physical disk and the target virtual disk to report Healthy/OK, and any repair/storage job to reach Completed with no new storage errors. Confirm the consuming volume is Online and perform a bounded read/write/read-back or filesystem test through the original path. A Healthy virtual disk shows Storage Spaces resiliency metadata at that layer, but it does not show filesystem integrity or application data correctness.
Step 2 Branch Storage Spaces failures at disk, pool capacity, virtual-disk repair and filesystem boundary Narrow the fault
If Storage Spaces reports a degraded pool or virtual disk, identify the exact physical disk state and fault domain before replacing anything. If all disks are healthy but repair cannot progress, inspect pool free capacity and active storage jobs; if a thin virtual disk is out of space, distinguish virtual-disk size from pool physical capacity. If the virtual disk is healthy but the volume is offline or read-only, move to partition/filesystem troubleshooting. If only one host path sees an issue in clustered storage, compare enclosure/path/driver state rather than altering pool metadata globally.
Step 3 Common mistakes Narrow the fault
- Retiring disks without repairing virtual disks.
- Repair jobs run in the background.
- Retire failed disks before replacing.
- A full pool takes thin disks offline.
Get-StoragePool -IsPrimordial $false— pools and healthGet-PhysicalDisk | Select FriendlyName,Usage,HealthStatus,OperationalStatus— physical disks in poolsGet-VirtualDisk | Select FriendlyName,ResiliencySettingName,HealthStatus,OperationalStatus— virtual disksGet-StorageJob— repair/rebuild jobs
ReferenceWhy it matters1 section · depth on demand
Storage Spaces health separates physical disks, pool capacity, virtual disks and filesystem consumers
Storage Spaces Troubleshooting separates state across physical disks, the storage pool, resiliency columns/extents, virtual disk and finally the partition/volume/filesystem that consumes it. A pool can be Healthy while a virtual disk is Detached or degraded, and a virtual disk can be Healthy while the filesystem above it is full or corrupt. Thin provisioning introduces allocated versus physical pool capacity, and the repair process depends on healthy copies plus sufficient free capacity. Record physical disk operational/health state, pool free capacity and virtual-disk resiliency before removing or resetting disks.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Health from the top down
PS C:\> Get-StoragePool -IsPrimordial $false | Select FriendlyName, HealthStatus, OperationalStatus, @{n='FreeTB';e={[math]::Round(($_.Size-$_.AllocatedSize)/1TB,2)}}
PS C:\> Get-VirtualDisk | Select FriendlyName, ResiliencySettingName, HealthStatus, OperationalStatus, DetachedReason
PS C:\> Get-PhysicalDisk | Sort HealthStatus | Select FriendlyName, SerialNumber, MediaType, Usage, HealthStatus, OperationalStatus
PS C:\> Get-StorageJob
Microsoft's Storage Spaces Direct troubleshooting guide uses Get-PhysicalDisk and Get-VirtualDisk states, notes that repairs start automatically and are monitored with Get-StorageJob, and covers the Detached virtual disk scenario.
States and what they mean
| Object | State | Meaning |
|---|---|---|
| Virtual disk | Healthy / OK | Full resiliency |
| Virtual disk | Warning / Degraded or Incomplete | Reduced resiliency; data available, repair pending |
| Virtual disk | Unhealthy / Detached | Not available — see DetachedReason |
| Physical disk | Lost Communication | Disk or node offline |
| Physical disk | In Maintenance Mode | Node paused for maintenance |
| Physical disk | Removing from Pool / Retired | Being drained |
Repair flow
1. Find the cause (failed disk, node down, network between nodes for S2D).
2. Let automatic repair run; watch Get-StorageJob (progress, bytes processed).
3. For a failed disk: retire it, physically replace, the new disk joins the pool automatically (S2D) or Add-PhysicalDisk (standalone Storage Spaces).
4. Confirm virtual disks return to Healthy before starting maintenance on another node.
Detached virtual disks in clusters
Microsoft documents causes such as a full dirty-region-tracking log, with event 311 and ReFS events 134/5, and a recovery procedure involving removing/adding the CSV and running chkdsk-related steps. Follow that procedure exactly; improvised fixes risk data loss.
Prevent problems
| Practice | Why |
|---|---|
| Keep ≥ one disk's capacity unallocated per server (reserve) | Allows in-place repair after failure |
Pause nodes properly (Suspend-ClusterNode -Drain) | Storage enters maintenance mode cleanly |
| Firmware and drivers from the validated catalogue | S2D is sensitive to HBA/NIC firmware |
RDMA network health (Get-NetAdapterRdma, Test-Rdma) | Storage traffic between nodes |
*The storage pool, virtual disk and physical disk queries are illustrative checks rather than measured Storage Spaces health.*
Method
Storage Spaces troubleshooting covers pools and virtual disks that are degraded, detached or out of capacity.
Get-StoragePool | Select-Object FriendlyName, HealthStatus, OperationalStatus, Size, AllocatedSize
Get-VirtualDisk | Select-Object FriendlyName, ResiliencySettingName, HealthStatus, OperationalStatus
Get-PhysicalDisk | Where-Object HealthStatus -ne 'Healthy'
Get-StorageJob
Repair-VirtualDisk -FriendlyName 'Data01'
Get-StorageHealthReport -InputObject (Get-StorageSubSystem *Cluster*) # Storage Spaces Direct
| State | Action |
|---|---|
| Degraded | Replace failed disk, retire it (Set-PhysicalDisk -Usage Retired), repair |
| Detached | Attach virtual disk; check majority of disks present |
| Out of capacity (thin) | Add disks or free space |
| Repair stuck | Check storage jobs, enough free space for rebuild |
Keep enough reserve capacity in pools for automatic rebuilds after disk failures.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in 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/ · confidence 94%