Use this when differencing disks or checkpoints are involved.
Differencing Disk
A differencing disk is a child VHDX that records only changes against a read-only parent, as used by Hyper-V checkpoints and linked templates. Losing or changing the parent breaks the child.
1. Differencing disks store changes on top of a parent.
2. Used by checkpoints (AVHDX) and linked VMs.
3. Parent must not change.
4. Long chains slow I/O.
5. Merge via checkpoint deletion when possible.
parent VHDX ← differencing (AVHDX)
Context & applicabilityCommon mistakes · platform/version boundaries
- Modifying the parent disk, which corrupts all children.
- Deleting AVHDX files manually instead of deleting checkpoints in Hyper-V Manager.
- Very long chains slowing I/O.
- Moving the parent without updating children (
Set-VHD -ParentPath).
Operational reference
Fast context before you go deeper.
Get-VHD -Path D:\VMs\vm01_ABC.avhdx | Select Path,ParentPath,VhdTypeEvidence · 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 child stores only changes against its parent.
- Changing the parent breaks the child.
- Long chains slow I/O.
Get-VHD <child> | fl ParentPath— parentTest-VHD <child>— chain integrityMerge-VHD -Path <child> -DestinationPath <parent>— merge offline
ReferenceHow it works1 section · depth on demand
Checkpoints and chains
Each checkpoint creates an AVHDX differencing disk; writes go to the newest child. Long chains slow I/O and grow without limit. Delete checkpoints you do not need so they merge back into the parent (Remove-VMSnapshot). Never edit or move a parent VHDX, or the children break. Get-VHD child.avhdx shows the ParentPath.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
A differencing disk (AVHDX for checkpoints, or a child VHDX for linked clones) records changes relative to a read-only parent. Reads not found in the child go to the parent, so chains of many levels slow I/O and depend on every file in the chain.
Get-VHD -Path vm_8F1C.avhdx | Select ParentPath,VhdType
Get-VMSnapshot -VMName vm1
Remove-VMSnapshot -VMName vm1 -Name 'before-patch' # merges the AVHDX
Never move, rename or edit a parent disk while children exist. If a backup leaves checkpoints behind, merge them during a quiet period after checking free space.
ReferenceConfiguration & state1 section · depth on demand
Commands
Get-VHD -Path D:\VMs\vm01_ABC.avhdx | Select Path,ParentPath,VhdType
Merge-VHD -Path D:\VMs\child.vhdx -DestinationPath D:\VMs\parent.vhdx
Set-VHD -Path child.vhdx -ParentPath D:\VMs\parent.vhdx
Documented example, not captured output. Merge only when the VM is off and the chain is not used by checkpoints in Hyper-V Manager.
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 Hypervisor Storage → Hyper-V Storage → Differencing Disk. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://pve.proxmox.com/pve-docs/chapter-pvesm.html · confidence 94%