Storage · Windows Storage › Storage Spaces
Storage Spaces Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=3993
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.
Remember
- Repair jobs run in background.
- Retire and replace failed disks.
- Full pools take thin disks offline.
First checks
Get-VirtualDisk | ? HealthStatus -ne Healthy— unhealthy spacesGet-StorageJob— running/stuck jobsGet-PhysicalDisk | ? HealthStatus -ne Healthy— bad disks
Verify in this order
disk → pool → virtual disk → volume
Where it usually breaks
First mismatch in provider/pool → virtual/logical disk → host/guest mapping → partition/filesystem → mount/drive → workload; preserve identity/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=3993