Use it when the storage-protection question has been narrowed to Snapshots → Redirect-on-Write. Preserve object identity, timestamps, dependency state and the newest authoritative data before changing configuration, deleting snapshot state, resynchronizing or changing replication ownership.
Redirect-on-Write
Redirect-on-write is a snapshot method where new writes go to fresh blocks while the snapshot keeps pointing at the old ones. There is no extra copy on write, so snapshot overhead stays low, but metadata integrity becomes critical.
1. Redirect-on-write writes new data elsewhere and keeps old blocks.
2. No extra copy on write — lower overhead.
3. Used by ZFS, Btrfs, NetApp, many arrays.
4. Deleting snapshots frees blocks.
5. Fragmentation over time.
write → new location; snapshot keeps old pointers
Context & applicabilityCommon mistakes · platform/version boundaries
Successful redirected writes show new active mappings were committed; they do not show snapshot independence, application consistency or sufficient future capacity.
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
write request → allocation → new block write → metadata pointer update → old block retained → snapshot/current read path
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.
- Redirect-on-write ≠ copy-before-overwrite.
- Metadata integrity is critical to both active and snapshot views.
- Free-capacity pressure can still threaten writes.
- RoW snapshot ≠ immutable off-system backup.
zfs get written <ds>@<snap>— data written since snapshot (ZFS, redirect-on-write)btrfs subvolume list -s <mount>— Btrfs snapshotsarray snapshot reserve— array view
ReferenceImportant terms & boundaries3 sections · depth on demand
Scope and what the checks show
Successful redirected writes show new active mappings were committed; they do not show snapshot independence, application consistency or sufficient future capacity.
In depth
Redirect-on-write: new data goes to new blocks; old blocks stay for the snapshot
With redirect-on-write (ROW), the file system never overwrites a block in place. A change is written to a free location and the metadata pointer is updated. A snapshot just keeps the old pointers. Nothing is copied when data changes, unlike copy-on-write snapshots, where the old block is first copied to a snapshot area.
ZFS as the example
zfsconcepts(7) says a snapshot is a read-only copy that is created very quickly and initially uses no additional space in the pool. As the active dataset changes, the snapshot holds the data the dataset no longer shares, so it grows. Clones are writable datasets made from snapshots that also start with no extra space, and the origin snapshot cannot be destroyed while a clone depends on it.
# zfs snapshot tank/vm@before
# zfs list -o name,used,refer tank/vm tank/vm@before
NAME USED REFER
tank/vm 412G 412G
tank/vm@before 0B 412G
# (one day of VM writes later)
# zfs list -o name,used tank/vm@before
NAME USED
tank/vm@before 18.4G
COW versus ROW
| Aspect | Copy-on-write (classic LVM) | Redirect-on-write (ZFS, Btrfs, LVM thin, many arrays) |
|---|---|---|
| Write after snapshot | Read old block, copy it, write new | Write new block, update pointer |
| Many snapshots | Each may need a copy | Little extra cost per snapshot |
| Snapshot deletion | Discard the COW area | Free blocks no longer referenced |
| Long-term effect | Origin layout unchanged | Fragmentation can grow over time |
Practical consequences
- Keeping many snapshots is cheap in I/O, but not in space: every changed block stays allocated until all snapshots that reference it are gone.
- Deleting old snapshots is the main way to reclaim space on ROW systems.
- "Deleting files frees no space" on a ROW file system usually means snapshots still reference those blocks.
Documented example, not captured output.
Quick reference
With redirect-on-write (RoW), new writes go to new locations and the metadata is updated; the original blocks stay where they are for the snapshot. There is no copy on write, so snapshots cost little performance. ZFS, Btrfs, NetApp WAFL and most modern arrays work this way.
The cost moves to space and fragmentation: blocks referenced by old snapshots cannot be freed until those snapshots are deleted. zfs list -o name,used,usedbysnapshots shows how much space snapshots hold.
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 → Redirect-on-Write. 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 → Redirect-on-Write proof map
Fast identity, dependency, failure-boundary and acceptance checks for Snapshots → Redirect-on-Write.
| 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 | Successful redirected writes prove new active mappings were committed; they do not prove snapshot independence, application consistency or sufficient future capacity. | Correlate evidence for the same operation and time window |
| Acceptance | Healthy evidence for Redirect-on-Write: 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 |