Storage Spaces Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=3166
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.
Remember
- Repair jobs run in the background.
- Retire failed disks before replacing.
- A full pool takes thin disks offline.
First checks
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
Commands
Get-VirtualDisk | Get-PhysicalDisk- Operational command for Inspect Storage Spaces virtual and physical disk health. Focus fields: friendly name, health st…
Get-StoragePool- Read-only observation for pool health, operational status and capacity.
Get-VirtualDisk- Read-only observation for virtual-disk health, resiliency and operational status.
Get-PhysicalDisk- Read-only observation for physical-disk health, usage and operational status.
Verify in this order
disk failure → degraded → repair → healthy
Where it usually breaks
First mismatch in device/provider → Windows storage mapping/pool → volume/filesystem/encryption → share/namespace/access policy → client/process read-back; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3166