Use this topic to identify Microsoft virtual disk image semantics while keeping format choice separate from the underlying Hyper-V or storage configuration.
VHD / VHDX
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.
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.
VHDX file → Hyper-V storage stack → guest disk
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
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.
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
format identification → allocation type → parent/backing relationship → host file access → backend I/O → guest verification
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.
- 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.
Get-VHD <path> | fl VhdFormat,VhdType,FileSize,Size,ParentPath— VHDX detailsTest-VHD <path>— integrityOptimize-VHD <path> -Mode Full— compact dynamic VHDX (VM off)
ReferenceWhat it is1 section · depth on demand
VHD vs VHDX
| VHD | VHDX | |
|---|---|---|
| Max size | 2 TB | 64 TB |
| Sector size | 512 B | 4 KB logical support |
| Power-failure resilience | No | Metadata log |
| Online resize | No | Yes (SCSI) |
| Azure | Fixed VHD required for upload | Convert 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'
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 Virtual Storage → VHD / VHDX. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/storage.html · 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
Virtual Storage → VHD / VHDX reference map
Fast virtual-storage boundaries for Virtual Storage → VHD / VHDX.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| VHD | legacy format | Compatibility boundary |
| VHDX | newer format | Feature/capacity boundary |
| Allocation | fixed/dynamic/differencing | Separate property |
| Backend | file storage | Outside format |