Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Crash-consistent Snapshot

Direct answer

A crash-consistent snapshot captures the disk exactly as it is at that instant, like after a power cut. Filesystems and databases can normally recover from it, but data still in memory or in unfinished transactions is not included.

When to use this

Use it when the storage-protection question has been narrowed to Snapshots → Crash-consistent Snapshot. 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. Crash-consistent = like a power loss.

2. Journaled filesystems and DBs usually recover.

3. No app coordination.

4. Fine for stateless workloads.

5. Test recovery.

Operational verification

instant point-in-time → no quiesce

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

Crash consistency shows a recoverable storage point comparable to sudden loss of power at the captured durability boundary, not coordinated transactional consistency.

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
Scope / prerequisiteUse it when the storage-protection question has been narrowed to Snapshots → Crash-consistent Snapshot. Preserve object…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

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

1 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

application writes → OS/filesystem buffers → storage durability boundary → snapshot point → restore → journal/application recovery → validation

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
  • Crash-consistent ≠ application-consistent.
  • Filesystem recoverable ≠ application transactionally correct.
  • Clean mount after restore ≠ business-data correctness.
  • Snapshot timestamp ≠ transaction commit timestamp.
Key checks
  • zfs snapshot <ds>@crash-$(date +%F) — instant snapshot
  • lvcreate -s ... — LVM snapshot
  • array snapshot without host agent — crash-consistent
ReferenceImportant terms & boundaries3 sections · depth on demand

Scope and what the checks show

Crash consistency shows a recoverable storage point comparable to sudden loss of power at the captured durability boundary, not coordinated transactional consistency.

In depth

Crash-consistent: what the disk would contain if power was cut at that moment

A crash-consistent snapshot captures all disks at the same instant, without asking the application or guest OS to flush anything. Restoring it is like rebooting after a power failure: journaling file systems and databases run crash recovery, and data that was only in memory is lost.

Hyper-V as a concrete example

Microsoft's documentation contrasts the two checkpoint types. A standard checkpoint captures the VM's disk and memory state at that moment; it is not a full backup, and it can cause consistency problems for systems that replicate data between nodes, such as Active Directory. A production checkpoint uses VSS in Windows guests, or a file-system freeze in Linux guests, to make a data-consistent copy without memory state.

PS> Set-VM -Name SQL01 -CheckpointType ProductionOnly
PS> Checkpoint-VM -Name SQL01 -SnapshotName "pre-patch"
PS> Get-VMSnapshot -VMName SQL01 | ft Name,SnapshotType,CreationTime

When crash consistency is enough

WorkloadCrash-consistent OK?
Stateless web or app serversYes
File servers on journaling file systemsUsually
Databases with write-ahead logsUsually recoverable, but slower and not guaranteed
Multi-VM applicationsOnly if all VMs are captured at the same instant
Directory services and replicated clustersAvoid; use application-aware methods

Requirements for a usable crash-consistent copy

  • All disks of the VM or application captured atomically (consistency groups on arrays, zfs snapshot -r).
  • The application must support crash recovery (journals, WAL).
  • Test restores. Crash recovery that works on paper can still fail with specific write patterns.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

A crash-consistent snapshot captures disk state as if the power had been pulled: everything written to disk is there, data still in application or OS memory is not. Journaled filesystems and databases with write-ahead logs normally recover from this state, but recovery takes time and in-flight transactions are rolled back.

Good enough for: file servers, stateless app servers. Not ideal for: databases and mail servers without application coordination.

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 → Crash-consistent Snapshot. 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
crash-consistent snapshotcrash-consistent-snapshotsnapshots crash-consistent snapshot
Embedded reference data

Quick lookup tables

Snapshots → Crash-consistent Snapshot proof map

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

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 boundaryCrash consistency proves a recoverable storage point comparable to sudden loss of power at the captured durability boundary, not coordinated transactional consistency.Correlate evidence for the same operation and time window
AcceptanceHealthy evidence for Crash-consistent Snapshot: 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?