Use it when configuring, checking or troubleshooting Clone in ZFS.
Clone
A clone starts as a writable dependent child of an origin snapshot. New writes allocate new blocks while unchanged data remains shared. The origin snapshot cannot normally be destroyed while dependent clones exist unless relationships are changed through supported operations such as promotion. Clone space and lifecycle therefore depend on both the clone and origin lineage.
1. A clone is a writable dataset from a snapshot.
2. Origin snapshot can't be deleted while clones exist.
3. Great for test copies.
4. promote reverses dependency.
5. Space shared with origin.
snapshot → clone → changes stored separately
Context & applicabilityCommon mistakes · platform/version boundaries
A clone being writable shows ZFS created a usable dependent dataset/volume from the snapshot, but it does not show physical independence or backup isolation.
Suspicious evidence: clone is treated as a full copy, origin snapshot deletion is unexpectedly blocked, shared capacity grows rapidly, or test clones accidentally point to production identities/resources.
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
origin dataset → snapshot → clone shared block references → copy-on-write divergence → pool/vdev → workload verification
Healthy evidence: origin relationship is known, clone divergence and capacity are controlled, and intended workload uses the correct cloned identity/data.
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.
- Clone ≠ full independent copy at creation.
- Clone ≠ backup.
- Writable clone ≠ application-consistent source snapshot.
- Deleting clone/origin relationships requires dependency awareness, not just space estimates.
zfs clone <ds>@<snap> <pool>/<clone>— create clonezfs get origin <pool>/<clone>— origin snapshotzfs promote <pool>/<clone>— swap dependency
ReferenceImportant terms & boundaries2 sections · depth on demand
Topology
A clone being writable shows ZFS created a usable dependent dataset/volume from the snapshot, but it does not show physical independence or backup isolation.
Clone owns ZFS writable snapshot descendants. Snapshot owns origin states; Send / Receive owns transport of independent stream states.
and state what the evidence does not show.
In depth
A clone is a writable dataset or zvol created from a snapshot; it shares all unchanged blocks with the origin and costs space only for changes. Typical uses are VM templates, test copies of databases and quick experiments.
zfs clone tank/db@golden tank/db-test
zfs get origin tank/db-test
zfs promote tank/db-test # make the clone independent of its origin snapshot
The origin snapshot cannot be destroyed while clones depend on it; zfs promote reverses the parent–child relationship when the clone should become the main copy.
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 ZFS → Clone. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://openzfs.github.io/openzfs-docs/ · 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
ZFS → Clone ZFS map
Fast topology, capacity, integrity and proof boundaries for ZFS → Clone.
| ZFS boundary | What to verify | Proof limit |
|---|---|---|
| Identity / topology | Pool GUID/name, dataset/zvol, top-level vdev class, leaf-device identity and effective properties | Object presence alone does not prove integrity, performance or recovery |
| Capacity / protection | Pool free space, quotas/reservations, snapshot retention, redundancy and active scrub/resilver state | Free space or ONLINE state at one layer does not prove end-to-end health |
| Failure boundary | A clone being writable proves ZFS created a usable dependent dataset/volume from the snapshot; it does not prove physical independence or backup isolation. | Correlate ZFS evidence with both workload and lower device/path evidence |
| Acceptance | Healthy evidence: origin relationship is known, clone divergence and capacity are controlled, and intended workload uses the correct cloned identity/data. | Close only after original workload plus checksum/read-back/recovery verification succeeds |