Use it when a host volume fills up, after resizing a disk, or when checkpoint files have accumulated.
VHDX
A VHDX is a Hyper-V virtual hard disk: one file on the host that the virtual machine sees as a disk. It is fixed, dynamically expanding, or differencing (changes on top of a parent).
1. VHDX: up to 64 TB, 4K logical sectors, resilient to power loss.
2. Fixed for heavy I/O, dynamic for general use.
3. Grow online (SCSI), then extend partition in guest.
4. Shrink only if partition shrunk first.
5. Differencing disks need intact parents.
VHDX file → storage stack → guest disk
Trace the active VHDX chain through host storage and verify the guest-visible I/O.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
- "I deleted data in the guest, so the host has space again." A dynamic disk does not shrink until it is compacted.
- "The disk was resized, so the guest has more space." The partition and filesystem must be extended in the guest.
- "The
.avhdxfiles are leftovers." They hold everything written since the checkpoint; remove them by deleting the checkpoint. - "A checkpoint is a backup." It is stored beside the original and depends on it.
- "Dynamic disks cannot fill the volume because the guests are not full." Each one may grow to its full size.
- "The parent of a differencing disk can be updated." Changing the parent invalidates every disk that depends on it.
It does not show guest filesystem integrity or backend performance from file existence alone.
Next check: Trace the active VHDX chain through host storage and verify the guest-visible I/O.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Guest filesystem → virtual disk/controller → active VHDX/differencing chain → host filesystem/volume → storage backend → completion
Step 2 Operational verification Verify boundary
Virtual disks, differencing/checkpoint chains, storage paths and VHDX operational state.
Fast verification
- Inspect each disk path/type/parent chain with
Get-VMHardDiskDriveandGet-VHD.
- Verify checkpoint/differencing-disk relationships before moving or deleting files.
- Check host volume free space and storage latency when VMs pause or I/O stalls.
Step 3 Verification & troubleshooting Narrow the fault
Path: Virtualization → Hyper-V → VHDX. Local intent: VHDX is the primary Hyper-V virtual hard disk format, storing a VM-visible block device in a file that can be dynamically expanding, fixed-size and part of differencing/checkpoint chains.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
A dynamic disk grows as the guest writes and does not shrink by itself. Checkpoints create .avhdx files that hold everything written since — never delete them by hand; delete the checkpoint. After Resize-VHD, the partition must be extended inside the guest.
Get-VHD <path> | fl VhdFormat,VhdType,Size,FileSize,FragmentationPercentage,ParentPath— detailsResize-VHD <path> -SizeBytes 200GB— grow (online for SCSI)Convert-VHD <old.vhd> <new.vhdx> -VHDType Dynamic— convert
ReferenceWhat it is1 section · depth on demand
Mental model
A VHDX is the file format of a Hyper-V virtual hard disk: one file on the host that a virtual machine sees as a disk. It can be up to 64 TB, and comes in three kinds — fixed, dynamically expanding and differencing.
ReferenceWhy it matters2 sections · depth on demand
When to use it
Use this Topic when the problem is in VM Storage & VHDX. Use Hyper-V when the problem concerns hypervisor, VM/container lifecycle, virtual networking, cluster, storage or capacity.
Why it matters operationally
Most storage surprises with Hyper-V come from how these files behave: dynamic disks that grow until the host volume is full, checkpoints that leave chains of differencing disks behind, or a disk that was enlarged while the guest still shows the old size. All are visible from the host with one command.
ReferenceHow it works1 section · depth on demand
How it works
Three kinds.
| Kind | File size on the host | Notes |
|---|---|---|
| Fixed | The full size from the start | Predictable; no growth surprises |
| Dynamically expanding | Only what has been written | Grows as the guest writes; does not shrink by itself |
| Differencing | Only the changes | Depends on a parent disk, which must not change |
Dynamic disks and overcommitment. Several dynamic disks can promise more space than the volume holds. When the volume fills, the virtual machines on it are paused. Deleting files in the guest does not make the file smaller; Optimize-VHD reclaims the space, with the disk detached or read-only.
Checkpoints create differencing disks. Taking a checkpoint freezes the current disk and directs all new writes to a new .avhdx file. Each further checkpoint adds another, forming a chain: every read may have to pass through all of them, and every file in the chain is needed. Deleting a checkpoint merges its file into the parent, which takes time and temporary space. Deleting an .avhdx file by hand destroys data.
Looking at it.
Get-VHD -Path <file>
Get-VMHardDiskDrive -VMName <name> | Get-VHD
| Field | Meaning |
|---|---|
VhdType | Fixed, Dynamic or Differencing |
Size | The size the guest sees |
FileSize | The space used on the host |
ParentPath | For a differencing disk, the disk it depends on |
FragmentationPercentage | For dynamic disks |
A path ending in .avhdx on a machine's disk means a checkpoint chain exists.
Resizing. Resize-VHD enlarges the disk, online if it is attached to a SCSI controller. The guest then sees a larger disk with unallocated space; the partition and filesystem must be extended inside the guest. Shrinking requires unallocated space at the end of the disk first.
Other properties. VHDX has an internal log that protects its structure against power loss, and supports 4K sector sizes. It is the successor to VHD, which stops at 2 TB; Convert-VHD converts between the two and between kinds.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A valid VHDX file and attachment show only part of the I/O path; they do not show chain integrity, backend latency or guest filesystem health.
Key operational limits
- Snapshots/checkpoints are not independent backups
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Hyper-V → VHDX. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Hyper-V → VHDX reference map
Fast Hyper-V boundaries for Hyper-V → VHDX.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Guest disk | VM-visible block device | Not host file size |
| VHDX | Backing image/container | Accessible ≠ performant |
| Chain | Parent/child relation when applicable | One file ≠ whole state |
| Backend | Host/storage path | Online ≠ low latency |