Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Snapshot Troubleshooting

Direct 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.

When to use this

Use it when the storage-protection question has been narrowed to Snapshots → Snapshot Troubleshooting. Preserve object identity, timestamps, dependency state and the newest authoritative data before changing configuration, deleting snapshot state, resynchronizing or changing replication ownership.

First 30 seconds

1. Problems: full snapshot area, failed merges, broken chains, VSS writer failures.

2. Free space before merges.

3. Never delete delta files manually.

4. Restart failed VSS writers (service).

5. Restore from backup if broken.

Operational verification

snapshot op → storage → chain → consistency

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

The 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.

Platform / version applicability
Data protection and recovery
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformData protection and recovery · Linux / LVM2
Key commandlvs -a -o lv_name,vg_name,lv_attr,origin,data_percent,metadata_percent
Scope / prerequisiteUse it when the storage-protection question has been narrowed to Snapshots → Snapshot Troubleshooting. Preserve object …
Reference · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
Storage command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

4 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

symptom/time → snapshot inventory → parent/child chain → active write target → capacity/backend → consistency/merge state → minimal change → original snapshot/restore test

Step 2 Known-good, broken and when it is fixed Verify boundary

Verification for Snapshots → Snapshot Troubleshooting must discriminate known-good from broken/suspicious state. With lvs -a -o lv_name,vg_name,lv_attr,origin,data_percent,metadata_percent, known-good is: snapshot and origin relationships are intact and utilization remains within the designed operating margin. Broken/suspicious is: snapshot attributes are abnormal or data/metadata utilization approaches exhaustion. Read back the same target after the minimal approved change, then confirm origin health, pool capacity and snapshot consumer state before merge/removal/extension.

Step 3 Observation-driven troubleshooting tree Narrow the fault

Troubleshoot Snapshots → Snapshot Troubleshooting from one exact failing target, revision/input and timestamp. Capture lvs -a -o lv_name,vg_name,lv_attr,origin,data_percent,metadata_percent before mutation, then branch by the first divergent observation: snapshot object is missing, validate target/origin and creation event; data_percent or metadata_percent approaches exhaustion, stop growth and protect the origin before merge/delete; snapshot exists but restore is inconsistent, distinguish crash-consistent from application-consistent capture; merge is pending/stuck, inspect active users and pool state before forcing changes. Typical failure signatures include COW space exhaustion, thin metadata full, invalid/deleted origin dependency, excessive chain depth, snapshot held by backup, failed quiesce, merge interruption, rollback to wrong point or technically valid snapshot containing application-inconsistent data.

Step 4 Failure signatures, dependencies and operational guardrails Narrow the fault

Failure-signature and guardrail reference for Snapshots → Snapshot Troubleshooting: COW space exhaustion, thin metadata full, invalid/deleted origin dependency, excessive chain depth, snapshot held by backup, failed quiesce, merge interruption, rollback to wrong point or technically valid snapshot containing application-inconsistent data. Operational guardrail: lvs -a -o lv_name,vg_name,lv_attr,origin,data_percent,metadata_percent shows LVM metadata reported for selected volumes, not filesystem/application consistency or successful restore; deleting or merging snapshots can be irreversible, so map dependencies and show a recoverable path first. Dependencies that can mimic the same symptom are origin health, volume-group/thin-pool free data and metadata, filesystem/application quiescing, snapshot chain depth, retention jobs, backup consumers, merge prerequisites and upper-layer caches/sessions.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • 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.
Key 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
ReferenceHow it works1 section · depth on demand

How it works

Snapshots → Snapshot Troubleshooting owns snapshot origin, copy-on-write or redirect-on-write metadata/data allocation, snapshot dependency chain, retention policy, merge/rollback state and the consumer consistency point represented by the snapshot. Execution mechanics: Snapshot creation records a point-in-time relationship to an origin while subsequent writes consume COW/metadata space or new extents; reads resolve through origin and snapshot mappings, retention preserves dependencies, and merge/rollback changes ownership of extents and therefore requires both storage and application-consistency verification. Keep adjacent dependencies separate: origin health, volume-group/thin-pool free data and metadata, filesystem/application quiescing, snapshot chain depth, retention jobs, backup consumers, merge prerequisites and upper-layer caches/sessions. The mapped read surface lvs -a -o lv_name,vg_name,lv_attr,origin,data_percent,metadata_percent exposes snapshot/origin relationship, attributes and data/metadata utilization.

ReferenceImportant terms & boundaries2 sections · depth on demand

Scope and what the checks show

The 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.

Method

Snapshot troubleshooting resolves snapshots that fail to create, consume too much space, or cannot be restored or deleted.

zfs list -t snapshot -o name,used,refer -s used | tail
lvs -o lv_name,origin,data_percent
Get-VMSnapshot -VMName app01 | Select-Object Name, CreationTime, ParentSnapshotName
vssadmin list shadows
vssadmin list writers
SymptomLikely cause
Snapshot creation failsQuiesce failure (VSS writer, guest agent), no space
Space grows fastHigh change rate, long retention, old VM snapshots
LVM snapshot invalidSnapshot volume filled to 100%
VM snapshot will not delete/mergeLocked files, backup software holding, insufficient space for merge
Restore inconsistentCrash-consistent only; application not quiesced

For VSS problems, vssadmin list writers shows writers in failed state; restarting the related service often clears them.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docData protection and recovery current

Authoritative/upstream documentation reviewed for bounded claims in Snapshots → Snapshot Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://openzfs.github.io/openzfs-docs/man/master/8/zfs-snapshot.8.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
snapshot troubleshootingsnapshot-troubleshootingsnapshots snapshot troubleshooting
Embedded reference data

Quick lookup tables

Snapshots → Snapshot Troubleshooting proof map

Fast identity, dependency, failure-boundary and acceptance checks for Snapshots → Snapshot Troubleshooting.

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
Confirmation

Confirm action

Continue?