Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

VHD / VHDX

Direct answer

VHD and VHDX are Microsoft virtual hard disk image formats; VHDX is the newer format with larger-capacity and resilience/features compared with legacy VHD, subject to platform support.

When to use this

Use this topic to identify Microsoft virtual disk image semantics while keeping format choice separate from the underlying Hyper-V or storage configuration.

First 30 seconds

1. VHDX is Hyper-V's format: up to 64 TB, resilient metadata.

2. Types: fixed, dynamic, differencing.

3. VHD (legacy) is limited to 2 TB.

4. Convert with Convert-VHD.

5. Differencing disks need intact parents.

Operational verification

VHDX file → Hyper-V storage stack → guest disk

Evidence · next step

Verify parent/child chain, capacity headroom and guest integrity with platform-supported tools.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show Hyper-V workload health, parent-chain safety, guest filesystem integrity or storage redundancy.

Next check: Verify parent/child chain, capacity headroom and guest integrity with platform-supported tools.

Platform / version applicability
virtualization-storage
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.

Platformvirtualization-storage
Scope / prerequisiteUse this topic to identify Microsoft virtual disk image semantics while keeping format choice separate from the underly…
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.

1 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

format identification → allocation type → parent/backing relationship → host file access → backend I/O → guest verification

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
  • VHD and VHDX are image formats, not storage backends.
  • VHDX capabilities do not guarantee the host filesystem or storage hardware provides equivalent resilience.
  • Dynamic VHD/VHDX logical size can exceed current file allocation.
  • A readable VHDX file does not prove the guest filesystem inside it is healthy.
Key checks
  • Get-VHD <path> | fl VhdFormat,VhdType,FileSize,Size,ParentPath — VHDX details
  • Test-VHD <path> — integrity
  • Optimize-VHD <path> -Mode Full — compact dynamic VHDX (VM off)
ReferenceWhat it is1 section · depth on demand

VHD vs VHDX

VHDVHDX
Max size2 TB64 TB
Sector size512 B4 KB logical support
Power-failure resilienceNoMetadata log
Online resizeNoYes (SCSI)
AzureFixed VHD required for uploadConvert to VHD first

Convert-VHD -Path old.vhd -DestinationPath new.vhdx converts; Get-VHD shows type and fragmentation.

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

VHDX file healthy/readable ≠ parent chain healthy ≠ guest filesystem healthy ≠ backend healthy.

In depth

VHD (legacy) supports up to 2 TB and 512-byte sectors; VHDX supports 64 TB, 4 KB logical sectors, a metadata log against corruption and larger block sizes. VHD is still used for Azure uploads (fixed VHD) and compatibility; use VHDX otherwise.

Convert-VHD -Path vm.vhd -DestinationPath vm.vhdx
Convert-VHD -Path vm.vhdx -DestinationPath azure.vhd -VHDType Fixed     # Azure upload format
Mount-VHD -Path vm.vhdx -ReadOnly; Get-Disk | ? BusType -eq 'File Backed Virtual'
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 docvirtualization-storage current

Authoritative/upstream documentation reviewed for bounded claims in Virtual Storage → VHD / VHDX. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/storage.html · 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
vhdvhdxmicrosoft virtual hard diskhyper-v disk image
Embedded reference data

Quick lookup tables

Virtual Storage → VHD / VHDX reference map

Fast virtual-storage boundaries for Virtual Storage → VHD / VHDX.

BoundaryMeaningEvidence limit
VHDlegacy formatCompatibility boundary
VHDXnewer formatFeature/capacity boundary
Allocationfixed/dynamic/differencingSeparate property
Backendfile storageOutside format
Confirmation

Confirm action

Continue?