Pcornel
Virtualization · VM Templates

Linked Clone

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

Back to the Topic

Answer

A linked clone shares the parent's base disk and writes only its changes to a delta disk. It deploys quickly and saves space, but depends on the parent snapshot and can perform worse on long chains.

Remember

  • Long delta chains slow disk I/O.
  • Never delete or change the parent snapshot.

First checks

  • qemu-img info --backing-chain <disk> — shows base image
  • qm clone <tpl> <new> — linked clone (default from template)
  • Get-VHD <diff.vhdx> | fl ParentPath — Hyper-V differencing

Verify in this order

base image ← delta disk → VM

Where it usually breaks

First mismatch in guest/app quiescence → hypervisor snapshot/template task → metadata/backing chain → storage durability → restore/clone read-back; preserve identity/native error/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=3559

Confirmation

Confirm action

Continue?