Pcornel
Storage · Snapshots

Snapshot Merge

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

Back to the Topic

Answer

A merge reads snapshot/child changes and commits them into the selected parent or base according to platform semantics, then updates metadata and releases obsolete delta state.

Remember

  • Merge started ≠ merge completed.
  • Merge completed ≠ application healthy.
  • Freeing a snapshot file manually ≠ safe merge.
  • Merge I/O can increase backend latency and capacity pressure.

First checks

  • virsh blockcommit <vm> vda --active --pivot — libvirt merge
  • Remove-VMSnapshot — Hyper-V merge
  • zfs destroy <snap> — ZFS (frees, no merge)

Commands

zfs rollback
virsh blockcommit
lvs

Verify in this order

delta → merged into parent

Where it usually breaks

First mismatch in source consistency → capture/journal → transport → repository/replica → catalog/checkpoint → restore/failover read-back; preserve identity/pre-state before mutation.

Snapshots → Snapshot Merge proof map

Storage boundaryWhat to verifyProof limit
Identity / stateCorrect object, source/target or snapshot point and same-window timestampsInventory alone does not prove data correctness
Dependency pathSnapshot mapping/chain, active write target, capacity and backing storageA healthy adjacent component is not end-to-end proof
Failure boundaryMerge completion proves the chain metadata accepted consolidation into the intended target; it does not prove every application read or backend block is correct.Correlate evidence for the same operation and time window
AcceptanceHealthy evidence for Snapshot Merge: the expected point-in-time mapping and dependency chain are intact, required backing data is readable, and the intended snapshot lifecycle action completes with correct current-data read-back.Close only after original read-back/recovery test and protection-state verification

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

Confirmation

Confirm action

Continue?