Pcornel
Virtualization · Hyper-V

Storage Migration

Cheat sheet · https://pcornel.dk/topic.php?topic=3709

Back to the Topic

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 files
  • Get-VMHost | fl MaximumStorageMigrations — concurrency
  • Get-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

BoundaryMeaningEvidence limit
SourceCurrent active VM filesMust remain valid during copy
DestinationTarget path/capacityReachable ≠ performant
SwitchHyper-V changes active pathCopy ≠ switch
VerifyGuest I/O on destinationRequired acceptance

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3709

Confirmation

Confirm action

Continue?