Pcornel
Storage · Hypervisor Storage › Hyper-V Storage

Pass-through Disk

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

Back to the Topic

Answer

A pass-through disk gives a Hyper-V VM a whole physical disk or LUN directly instead of a VHDX. It is rarely used now, because it blocks checkpoints and complicates backup and migration.

Remember

  • Pass-through disks block checkpoints.
  • Backup and migration become harder.
  • Prefer VHDX today.

First checks

  • Get-Disk | ? IsOffline — physical disk offline for passthrough
  • Add-VMHardDiskDrive -VMName <vm> -DiskNumber <n> — attach physical
  • Get-VMHardDiskDrive <vm> | ft Path,DiskNumber — passthrough disks

Verify in this order

physical disk (offline on host) → VM

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=4189

Confirmation

Confirm action

Continue?