Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

ZFS Fundamentals

Direct answer

ZFS writes changed blocks to new locations and commits consistent transaction groups rather than overwriting live blocks in place. Block pointers carry checksums and tree metadata, while datasets and zvols consume space from a shared pool subject to quotas, reservations and properties. The operational unit for redundancy is the top-level vdev, not an individual dataset.

When to use this

Use it when configuring, checking or troubleshooting ZFS Fundamentals in ZFS.

First 30 seconds

1. Pool → vdevs → disks; datasets and zvols on top.

2. Redundancy is per vdev — losing a vdev loses the pool.

3. Properties inherit down the tree.

4. Snapshots and send/receive for backups.

5. Plan ashift and vdev layout up front.

Operational verification

dataset → pool → vdevs → disks

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

It does not show backup independence, application consistency, lower-media health outside measured paths or causation beyond the observed ZFS scope. A clean imported dataset hierarchy shows ZFS metadata can describe the namespace and current mappings, but it does not show all data blocks are intact or that the workload is application-consistent.

Suspicious evidence: inherited properties are mistaken for local configuration, free space differs unexpectedly between pool and dataset, errors accumulate, or copy-on-write/snapshots are treated as an independent recovery copy.

Next check: Continue at the first failing step in the responsible ZFS child Topic, Storage Performance, Physical Media, Storage Interfaces, Filesystems, RAID, Backup/DR, Linux/Proxmox or consuming workload branch; make one minimal change and repeat the original verification.

Platform / version applicability
ZFS storage
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.

PlatformZFS storage
Scope / prerequisiteUse it when configuring, checking or troubleshooting ZFS Fundamentals in ZFS.
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

consumer → dataset/zvol → block pointer/checksum tree → transaction group → zpool metaslabs → vdev → leaf device → read-back

Healthy evidence: pool topology, dataset hierarchy, properties, capacity and checksummed I/O agree with design and recent scrub/read-back evidence has no unexplained errors.

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
  • Copy-on-write ≠ backup.
  • Pool free space ≠ guaranteed free space for every dataset when quotas/reservations apply.
  • Checksum coverage ≠ automatic repair without redundancy.
  • Dataset properties may be inherited; an observed value ≠ proof of where it was set.
Key checks
  • zpool status — layout and errors
  • zfs get all <dataset> | head -40 — properties
  • arc_summary | head -40 — ARC
ReferenceWhy it matters1 section · depth on demand

How it works in operation

ZFS maps dataset/zvol I/O through ARC/ZIL and metaslabs to vdev topology and physical devices, with checksums validating blocks on read.

ReferenceImportant terms & boundaries3 sections · depth on demand

Topology

A clean imported dataset hierarchy shows ZFS metadata can describe the namespace and current mappings, but it does not show all data blocks are intact or that the workload is application-consistent.

Platform, version and operating-envelope scope

OpenZFS feature flags, allocator behavior and platform tooling vary by release/OS.

In depth

ZFS fundamentals: storage is organised as pool → vdevs → disks, with datasets and zvols on top. Every write goes to new blocks (copy-on-write), and metadata is updated atomically in transaction groups, so the pool is always consistent on disk.

ObjectDescription
Pool (zpool)Collection of vdevs; capacity shared by all datasets
VdevMirror, RAIDZ1/2/3, or single disk; plus special vdevs (log, cache, special, dedup)
DatasetFilesystem with its own properties (compression, quota, recordsize)
ZvolBlock device from the pool (for VMs, iSCSI)
Snapshot/cloneRead-only point in time / writable copy

Properties are inherited down the dataset tree, so set them at the right level. Pools cannot shrink and RAIDZ vdevs historically could not grow by adding disks (RAIDZ expansion is available in newer OpenZFS versions), so plan the layout up front.

zfs get compression,recordsize,quota tank/data
zfs set compression=zstd tank/data
zfs list -o name,used,avail,refer,mountpoint
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 docZFS storage current

Authoritative/upstream documentation reviewed for bounded claims in ZFS → ZFS Fundamentals. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://openzfs.github.io/openzfs-docs/ · 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
zfs fundamentalszfs architecturecopy on write zfs
Embedded reference data

Quick lookup tables

ZFS → ZFS Fundamentals ZFS map

Fast topology, capacity, integrity and proof boundaries for ZFS → ZFS Fundamentals.

ZFS boundaryWhat to verifyProof limit
Identity / topologyPool GUID/name, dataset/zvol, top-level vdev class, leaf-device identity and effective propertiesObject presence alone does not prove integrity, performance or recovery
Capacity / protectionPool free space, quotas/reservations, snapshot retention, redundancy and active scrub/resilver stateFree space or ONLINE state at one layer does not prove end-to-end health
Failure boundaryA clean imported dataset hierarchy proves ZFS metadata can describe the namespace and current mappings; it does not prove all data blocks are intact or that the workload is application-consistent.Correlate ZFS evidence with both workload and lower device/path evidence
AcceptanceHealthy evidence: pool topology, dataset hierarchy, properties, capacity and checksummed I/O agree with design and recent scrub/read-back evidence has no unexplained errors.Close only after original workload plus checksum/read-back/recovery verification succeeds
Confirmation

Confirm action

Continue?