Pcornel
Storage · Snapshots

Snapshot Troubleshooting

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

Back to the Topic

Answer

Troubleshooting starts with read-only inventory and timestamps, establishes the authoritative snapshot chain and active write target, checks capacity and backend health, then tests the smallest safe snapshot action.

Remember

  • Snapshot error ≠ root cause.
  • Missing UI entry ≠ missing underlying snapshot data.
  • Deleting files/objects manually is not a safe first repair.
  • Temporary success after cleanup ≠ durable fix until original create/restore/read-back is verified.

First checks

  • zfs list -t snapshot; zpool list — space
  • lvs -o lv_name,data_percent — invalid LVM snapshots
  • vssadmin list shadows; vssadmin list writers — VSS issues

Commands

lvs -a -o lv_name,vg_name,lv_attr,origin,data_percent,metadata_percent
Read-only/validation observation for snapshot/origin relationship, attributes and data/metadata utilization.

Verify in this order

snapshot op → storage → chain → consistency

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 Troubleshooting 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 boundaryThe first failed snapshot lifecycle boundary is the useful diagnosis; a generic snapshot alarm does not identify whether metadata, capacity, backend, guest/application consistency or chain state failed.Correlate evidence for the same operation and time window
AcceptanceHealthy evidence for Snapshot Troubleshooting: 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=4229

Confirmation

Confirm action

Continue?