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.
Crash-consistent Snapshot
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.
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.
instant point-in-time → no quiesce
Context & applicabilityCommon mistakes · platform/version boundaries
Crash consistency shows a recoverable storage point comparable to sudden loss of power at the captured durability boundary, not coordinated transactional consistency.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- Crash-consistent ≠ application-consistent.
- Filesystem recoverable ≠ application transactionally correct.
- Clean mount after restore ≠ business-data correctness.
- Snapshot timestamp ≠ transaction commit timestamp.
zfs snapshot <ds>@crash-$(date +%F)— instant snapshotlvcreate -s ...— LVM snapshotarray 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
| Workload | Crash-consistent OK? |
|---|---|
| Stateless web or app servers | Yes |
| File servers on journaling file systems | Usually |
| Databases with write-ahead logs | Usually recoverable, but slower and not guaranteed |
| Multi-VM applications | Only if all VMs are captured at the same instant |
| Directory services and replicated clusters | Avoid; 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.
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
Quick lookup tables
Snapshots → Crash-consistent Snapshot proof map
Fast identity, dependency, failure-boundary and acceptance checks for Snapshots → Crash-consistent Snapshot.
| Storage boundary | What to verify | Proof limit |
|---|---|---|
| Identity / state | Correct object, source/target or snapshot point and same-window timestamps | Inventory alone does not prove data correctness |
| Dependency path | Snapshot mapping/chain, active write target, capacity and backing storage | A healthy adjacent component is not end-to-end proof |
| Failure boundary | Crash 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 |
| Acceptance | Healthy 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 |