Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

VHDX

Direct answer

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).

When to use this

Use it when a host volume fills up, after resizing a disk, or when checkpoint files have accumulated.

First 30 seconds

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.

Operational verification

VHDX file → storage stack → guest disk

Evidence · next step

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
Common mistakes
Common interpretation traps
  • "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 .avhdx files 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.
Common traps

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.

Platform / version applicability
hyper-v
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformhyper-v
Scope / prerequisiteUse it when a host volume fills up, after resizing a disk, or when checkpoint files have accumulated.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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-VMHardDiskDrive and Get-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 references

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.

observation · 1
Key points

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.

Key checks
  • Get-VHD <path> | fl VhdFormat,VhdType,Size,FileSize,FragmentationPercentage,ParentPath — details
  • Resize-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.

KindFile size on the hostNotes
FixedThe full size from the startPredictable; no growth surprises
Dynamically expandingOnly what has been writtenGrows as the guest writes; does not shrink by itself
DifferencingOnly the changesDepends 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
FieldMeaning
VhdTypeFixed, Dynamic or Differencing
SizeThe size the guest sees
FileSizeThe space used on the host
ParentPathFor a differencing disk, the disk it depends on
FragmentationPercentageFor 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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor dochyper-v current

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%
Terminology layer

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.

Aliases that resolve here
vhdxhyper-v diskvirtual hard disk hyper-v
Embedded reference data

Quick lookup tables

Hyper-V → VHDX reference map

Fast Hyper-V boundaries for Hyper-V → VHDX.

BoundaryMeaningEvidence limit
Guest diskVM-visible block deviceNot host file size
VHDXBacking image/containerAccessible ≠ performant
ChainParent/child relation when applicableOne file ≠ whole state
BackendHost/storage pathOnline ≠ low latency
Confirmation

Confirm action

Continue?