Storage Migration
Cheat sheet · https://pcornel.dk/topic.php?topic=3709
Answer
The operation has separate source, destination, copy, switch-over and cleanup boundaries. Destination free space, permissions, filesystem/storage health and performance all matter.
Remember
- Storage migration ≠ compute migration.
- Destination path reachable ≠ enough capacity/performance.
- Copy completion ≠ guest I/O correctness.
- Source cleanup occurs only after successful switch-over semantics.
First checks
Move-VMStorage -VMName <vm> -DestinationStoragePath D:\VMs\<vm>— move all VM filesGet-VMHost | fl MaximumStorageMigrations— concurrencyGet-VMHardDiskDrive <vm> | ft Path— new location
Verify in this order
running VM → mirror writes → copy → switch paths
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
Hyper-V → Storage Migration reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Source | Current active VM files | Must remain valid during copy |
| Destination | Target path/capacity | Reachable ≠ performant |
| Switch | Hyper-V changes active path | Copy ≠ switch |
| Verify | Guest I/O on destination | Required acceptance |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3709