Pcornel
Windows · Hyper-V

VHD / VHDX

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

Back to the Topic

Answer

A virtual disk file is only one layer of the storage chain: VM controller attachment, VHD/VHDX format, file path, host filesystem, storage device/path and guest filesystem all remain distinct boundaries.

Remember

  • VHDX is the preferred modern Hyper-V virtual disk format.
  • A VHDX file existing does not prove it is attached to the intended VM or readable end-to-end.
  • Dynamic expansion changes physical allocation behavior, not the guest-visible maximum alone.
  • Checkpoints and differencing disks can alter the active disk chain; do not inspect only the base VHDX.

First checks

  • Get-VM — VMs and state
  • Get-VMHost — host settings
  • Get-VMSwitch — virtual switches
  • Get-VMNetworkAdapter -VMName <vm> — vNICs, switch, VLAN
  • Get-VMHardDiskDrive -VMName <vm> — attached disks
  • Get-WinEvent -LogName Microsoft-Windows-Hyper-V-VMMS-Admin -MaxEvents 30 — VMMS events

Verify in this order

VM controller → VHDX file (fixed/dynamic/differencing) → host volume

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 → VHD / VHDX reference map

BoundaryMeaningEvidence limit
AttachmentVM points to a virtual disk pathDoes not prove file/backing storage healthy
Format/typeVHD/VHDX and fixed/dynamic/differencingDoes not prove active chain is complete
Host storageFile and backing filesystem/path are availableDoes not prove guest filesystem healthy
Guest I/OGuest reads/writes expected dataStrongest workload-facing storage evidence

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

Confirmation

Confirm action

Continue?