Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Storage Spaces Troubleshooting

Direct answer

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.

When to use this

Use this when Storage Spaces reports degraded or unhealthy.

First 30 seconds

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.

Operational verification

disk failure → degraded → repair → healthy

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Windows storage and file services
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 and file services · Windows Server / Storage Spaces · Windows / PowerShell
Key commandGet-VirtualDisk | Get-PhysicalDisk
Scope / prerequisiteUse this when Storage Spaces reports degraded or unhealthy.
Verify · 4
What next?3 suggested next steps
Catalog command links4
Evidence0
On this pageJump to a specific section
Windows command reference

Primary Commands

Configuration and operational commands for this Topic.

Get-VirtualDisk | Get-PhysicalDiskVerify
Inspect Storage Spaces virtual and physical disk health

Operational 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 · service
Operational workflow

Verification & Troubleshooting

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

3 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 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.
Key points
  • Repair jobs run in the background.
  • Retire failed disks before replacing.
  • A full pool takes thin disks offline.
Key checks
  • Get-StoragePool -IsPrimordial $false — pools and health
  • Get-PhysicalDisk | Select FriendlyName,Usage,HealthStatus,OperationalStatus — physical disks in pools
  • Get-VirtualDisk | Select FriendlyName,ResiliencySettingName,HealthStatus,OperationalStatus — virtual disks
  • Get-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

ObjectStateMeaning
Virtual diskHealthy / OKFull resiliency
Virtual diskWarning / Degraded or IncompleteReduced resiliency; data available, repair pending
Virtual diskUnhealthy / DetachedNot available — see DetachedReason
Physical diskLost CommunicationDisk or node offline
Physical diskIn Maintenance ModeNode paused for maintenance
Physical diskRemoving from Pool / RetiredBeing 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

PracticeWhy
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 catalogueS2D 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.*

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

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
StateAction
DegradedReplace failed disk, retire it (Set-PhysicalDisk -Usage Retired), repair
DetachedAttach virtual disk; check majority of disks present
Out of capacity (thin)Add disks or free space
Repair stuckCheck storage jobs, enough free space for rebuild

Keep enough reserve capacity in pools for automatic rebuilds after disk failures.

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 and file services current

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%
Confirmation

Confirm action

Continue?