Use it when configuring, checking or troubleshooting Dataset in ZFS.
Dataset
A ZFS dataset is a filesystem object in a hierarchy. Properties can be local or inherited, and datasets share pool capacity unless constrained by quota/refquota/reservation/refreservation or other policy. Snapshot and clone relationships are scoped to datasets and their descendants depending on operation.
1. Datasets are filesystems with their own properties, quotas and snapshots.
2. Use one dataset per purpose.
3. Properties inherit.
4. Quotas and reservations control space.
5. Mounted automatically.
dataset properties → files → pool
Context & applicabilityCommon mistakes · platform/version boundaries
A mounted and writable dataset shows namespace and allocation are presently functional for the tested path, but it does not show all blocks, snapshots, permissions or underlying vdevs are healthy.
Suspicious evidence: property inheritance is misunderstood, snapshots consume unexpected space, quota/refquota blocks writes despite pool free space, or mount success is treated as evidence of backend health.
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 path → mountpoint → dataset properties/namespace → pool allocation → vdev → leaf device → read-back
Healthy evidence: expected dataset hierarchy, mountpoint, properties, quota/reservation headroom and read/write behavior match design with no correlated pool errors.
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.
- Dataset ≠ zpool.
- Dataset available space ≠ raw pool free space when quotas/reservations or snapshots constrain it.
- Mounted dataset ≠ application health or full integrity proof.
- Property value ≠ locally configured value when inheritance is active.
zfs list -o name,used,avail,refer,mountpoint— datasetszfs get compression,recordsize,atime,quota,reservation <ds>— key propertieszfs create -o compression=lz4 <pool>/<ds>— create
ReferenceImportant terms & boundaries2 sections · depth on demand
Topology
A mounted and writable dataset shows namespace and allocation are presently functional for the tested path, but it does not show all blocks, snapshots, permissions or underlying vdevs are healthy.
In depth
A dataset is a ZFS filesystem inside the pool with its own properties (compression, recordsize, quota, reservation, encryption, snapshots). Properties inherit down the tree, so set defaults high and override where needed.
zfs create -o compression=lz4 -o recordsize=1M tank/media
zfs create -o recordsize=16K tank/db
zfs set quota=2T tank/media
zfs list -o name,used,avail,refer,compressratio,mountpoint
zfs get -s local all tank/db # only properties set on this dataset
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 → Dataset. 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 → Dataset ZFS map
Fast topology, capacity, integrity and proof boundaries for ZFS → Dataset.
| 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 mounted and writable dataset proves namespace and allocation are presently functional for the tested path; it does not prove all blocks, snapshots, permissions or underlying vdevs are healthy. | Correlate ZFS evidence with both workload and lower device/path evidence |
| Acceptance | Healthy evidence: expected dataset hierarchy, mountpoint, properties, quota/reservation headroom and read/write behavior match design with no correlated pool errors. | Close only after original workload plus checksum/read-back/recovery verification succeeds |