Use this when Storage Spaces is degraded or unhealthy.
Storage Spaces Troubleshooting
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.
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.
disk → pool → virtual disk → volume
Context & applicabilityCommon mistakes · platform/version boundaries
- 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.
Operational reference
Fast context before you go deeper.
Get-StoragePool | Get-PhysicalDisk | Sort HealthStatusVerification & 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 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 · 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.
- Repair jobs run in background.
- Retire and replace failed disks.
- Full pools take thin disks offline.
Get-VirtualDisk | ? HealthStatus -ne Healthy— unhealthy spacesGet-StorageJob— running/stuck jobsGet-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
| Status | Meaning |
|---|---|
| No Redundancy | A 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 Mode | Expected while a node's storage is in maintenance |
| Removing from Pool, OK | Stale remove intent after a failed removal |
Documented recovery outlines
- No Redundancy: remove the virtual disk from CSV, set
DiskRecoveryActionto 1 on the Available Storage owner, start the resource, wait forGet-StorageJobto finish and HealthStatus Healthy, set it back to 0, add back to CSV. - Detached: set
DiskRunChkDskto 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.*
Method
| Symptom | Check |
|---|---|
Virtual disk Degraded / Incomplete | Get-PhysicalDisk for lost or failed disks; Repair-VirtualDisk |
Virtual disk Detached | Not enough copies available; reconnect disks, Connect-VirtualDisk |
| Pool read-only | Get-StoragePool IsReadOnly; often after losing quorum of pool disks |
| Repair stuck | Get-StorageJob; no free capacity for repair |
| Slow writes on parity | Expected; 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
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 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%