Windows Storage Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=3997
Answer
Troubleshoot Windows storage with Disk Management and Get-Disk for offline or uninitialized disks, chkdsk for file-system errors, the System event log for disk and NTFS events, Get-PhysicalDisk for health, and storage driver versions.
Remember
- Check disk status first.
- chkdsk for file system errors.
- System log for disk events.
First checks
Get-WinEvent -LogName System -MaxEvents 100 | ? ProviderName -match 'disk|ntfs|storport|stornvme'— storage eventsGet-PhysicalDisk | Get-StorageReliabilityCounter— disk errorsGet-Volume | ? HealthStatus -ne Healthy— volume health
Verify in this order
event → disk/volume/path → fix
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=3997