VHD / VHDX
Cheat sheet · https://pcornel.dk/topic.php?topic=3335
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 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 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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Attachment | VM points to a virtual disk path | Does not prove file/backing storage healthy |
| Format/type | VHD/VHDX and fixed/dynamic/differencing | Does not prove active chain is complete |
| Host storage | File and backing filesystem/path are available | Does not prove guest filesystem healthy |
| Guest I/O | Guest reads/writes expected data | Strongest 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