Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

VHDX

Direct answer

VHDX is Hyper-V's virtual disk format, supporting up to 64 TB, 4 KB sectors, resilience against power failure and online resize. It replaced the older VHD format, which is limited to 2 TB.

When to use this

Use this when working with Hyper-V's virtual disk format.

First 30 seconds

1. VHDX: 64 TB, 4K sectors, metadata log for resilience.

2. Fixed vs dynamic vs differencing.

3. Online resize on SCSI.

4. Use VHDX, not VHD.

5. Keep on reliable storage.

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Using VHD for new VMs instead of VHDX.
  • Storing VHDX files on compressed or deduplicated volumes not supported for running VMs.
  • Expanding a VHDX without expanding the partition inside the guest.
  • Copying open VHDX files while the VM runs.
Platform / version applicability
Hypervisor 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.

PlatformHypervisor Storage
Key commandGet-VHD -Path D:\VMs\vm01.vhdx
Scope / prerequisiteUse this when working with Hyper-V's virtual disk format.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
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
  • Up to 64 TB.
  • Resilient to power failure.
  • Online resize supported.
Key checks
  • Get-VHD <path> | fl VhdFormat,VhdType,Size,FileSize,LogicalSectorSize — VHDX properties
  • Test-VHD <path> — integrity
  • Resize-VHD <path> -SizeBytes <n> — resize
ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

VHDX supports disks up to 64 TB, 4 KB logical sectors, a metadata log that protects against corruption on power loss, and TRIM/UNMAP pass-through.

New-VHD -Path D:\VMs\data.vhdx -SizeBytes 500GB -Dynamic -BlockSizeBytes 32MB
Resize-VHD -Path D:\VMs\data.vhdx -SizeBytes 800GB        # online for SCSI-attached disks
Optimize-VHD -Path D:\VMs\data.vhdx -Mode Full             # compact (disk offline/read-only)
Test-VHD -Path D:\VMs\data.vhdx
Convert-VHD -Path old.vhd -DestinationPath new.vhdx

After growing a VHDX, extend the partition inside the guest.

ReferenceConfiguration & state1 section · depth on demand

Commands

New-VHD -Path D:\VMs\vm01.vhdx -SizeBytes 100GB -Dynamic
Get-VHD -Path D:\VMs\vm01.vhdx            # type, size, file size, parent
Resize-VHD -Path D:\VMs\vm01.vhdx -SizeBytes 200GB
Optimize-VHD -Path D:\VMs\vm01.vhdx -Mode Full   # compact dynamic disks (VM off or read-only mount)
Convert-VHD -Path old.vhd -DestinationPath new.vhdx

Documented example, not captured output. VHDX supports online resize on SCSI controllers, 4 KB logical sectors and is protected against corruption on power loss.

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 docHypervisor Storage current

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

Basis: https://pve.proxmox.com/pve-docs/chapter-pvesm.html · confidence 94%
Confirmation

Confirm action

Continue?