Pcornel
Storage · Hypervisor Storage › Hyper-V Storage

Fixed VHDX

Cheat sheet · https://pcornel.dk/topic.php?topic=4186

Back to the Topic

Answer

A fixed VHDX allocates its full size on creation. It gives predictable performance and no risk of the host volume filling up later, at the cost of using all its space immediately.

Remember

  • Full size is allocated at creation.
  • No risk of host volume filling later.
  • Uses space immediately.

First checks

  • New-VHD -Path <p> -SizeBytes 100GB -Fixed — create fixed
  • Get-VHD <p> | fl VhdType,FileSize — FileSize ≈ Size
  • Convert-VHD <dyn> <fixed> -VHDType Fixed — convert

Verify in this order

create → full allocation

Where it usually breaks

First mismatch in provider/pool → virtual/logical disk → host/guest mapping → partition/filesystem → mount/drive → workload; preserve identity/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4186

Confirmation

Confirm action

Continue?