Storage Migration
Cheat sheet · https://pcornel.dk/topic.php?topic=3340
Answer
Storage migration copies active virtual disk data to a destination path, tracks ongoing writes and switches the VM to the destination storage when synchronization reaches the cutover point.
Remember
- Storage migration ≠ live migration of compute.
- Destination capacity and permissions are prerequisites but do not prove sustained performance.
- Completion should be verified against the active VM attachment, not only file presence.
- Checkpoint/differencing chains and large write rates can increase migration complexity and duration.
First checks
Get-VM— VMs and stateGet-VMHost— host settingsGet-VMSwitch— virtual switchesGet-VMNetworkAdapter -VMName <vm>— vNICs, switch, VLANGet-VMHardDiskDrive -VMName <vm>— attached disksGet-WinEvent -LogName Microsoft-Windows-Hyper-V-VMMS-Admin -MaxEvents 30— VMMS events
Verify in this order
VM files copied to new storage while running
Where it usually breaks
First mismatch in host/cluster identity → management configuration → quorum/resource ownership → network/storage dependencies → VM/service runtime → guest/application verification; preserve identity/native error/pre-state before mutation.
Hyper-V → Storage Migration reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Source | Current active VM storage path identified | Does not prove destination ready |
| Destination | Capacity/path/permissions acceptable | Does not prove workload performance |
| Cutover | VM attachment switches to destination | Must verify all active disks/checkpoints |
| Guest I/O | Guest continues expected reads/writes | Required workload proof |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3340