Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

ZFS · Filesystems

Direct answer

ZFS datasets and zvols allocate from a storage pool built from vdevs. End-to-end checksums verify data on read, and redundancy can repair bad copies when a valid replica exists. Pool/vdev health constrains filesystem availability.

When to use this

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

First 30 seconds

1. ZFS combines volume manager and filesystem: checksums, COW, snapshots, send/receive.

2. Keep pools under 80 % full.

3. Set properties per dataset.

4. Scrub regularly.

5. ARC uses RAM.

Operational verification

dataset → pool → vdevs → disks

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

An ONLINE pool and mounted dataset show current topology/access state; they do not show all blocks have been scrubbed, backup exists or every workload write is application-consistent.

Suspicious evidence: checksum errors rise, degraded vdevs exist, pool capacity is critically high, snapshot space hides allocation pressure, or ONLINE is treated as evidence of backup/integrity.

Platform / version applicability
Storage architecture and operations
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.

PlatformStorage architecture and operations
Scope / prerequisiteUse it when configuring, checking or troubleshooting ZFS in Filesystems.
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.

2 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

path/dataset → ZFS object/metadata → checksum/COW allocation → pool → vdev → device → verified read

Healthy evidence: pool/vdev topology is healthy, dataset mounts as intended, checksum/device error counters are understood, capacity is available and recent scrub/read verification shows no unexplained faults.

Step 2 Native branching decision path Narrow the fault

Observation → implication → next check: if the pool is not imported, verify device visibility and pool labels. If imported but DEGRADED/FAULTED, identify the exact vdev and error class before replacement. If pool health is clean but the dataset is unavailable, inspect key loading, mountpoint and dataset properties. If storage state is healthy, repeat the original read/write and verify the application-visible path.

Path: Storage → Filesystems → ZFS. Local intent: ZFS combines a copy-on-write filesystem with pooled storage, checksums, snapshots and integrated redundancy through vdevs.

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
  • ZFS dataset ≠ zvol.
  • Checksum detection ≠ repair without redundancy.
  • Snapshot ≠ backup.
  • Pool ONLINE ≠ every block recently scrubbed.
Key checks
  • zfs list — datasets
  • zpool status -x — pool health
  • zfs get compression,recordsize,atime <dataset> — properties
ReferenceHow it works1 section · depth on demand

How it works

ZFS state is owned by the pool/vdev topology plus datasets layered above it. A pool can be ONLINE while a dataset is unavailable because of mount/key/property state, and a degraded vdev can remain readable while redundancy is reduced. Track pool GUID, vdev identity, error counters, scrub/resilver state and dataset mount/encryption state as separate facts.

Path: Storage → Filesystems → ZFS. Local intent: ZFS combines a copy-on-write filesystem with pooled storage, checksums, snapshots and integrated redundancy through vdevs.

ReferenceImportant terms & boundaries2 sections · depth on demand

Namespace and consistency

An ONLINE pool and mounted dataset show current topology/access state; they do not show all blocks have been scrubbed, backup exists or every workload write is application-consistent.

In depth

ZFS is a combined volume manager and filesystem that checksums every block, uses copy-on-write so on-disk data is always consistent, and offers snapshots, clones, compression and send/receive replication built in. Disks are organised into vdevs (mirror, RAIDZ1/2/3), vdevs form a pool, and datasets and zvols are carved from the pool.

FeatureBenefit
End-to-end checksumsDetects silent corruption; self-heals from redundancy
Copy-on-writeNo fsck needed; cheap snapshots
Compression (lz4/zstd)Saves space, often improves speed
send/receiveEfficient incremental replication
ARC/L2ARC/SLOGCaching and sync write acceleration

A pool's redundancy is per vdev — losing any whole vdev loses the pool — so choose vdev layout carefully. Run regular scrubs to find and repair latent errors.

zpool create tank mirror /dev/disk/by-id/ata-A /dev/disk/by-id/ata-B
zfs create -o compression=lz4 tank/data
zpool status
zpool scrub tank
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 docStorage architecture and operations current

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

Basis: https://docs.kernel.org/filesystems/index.html · 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 filesystemzfs datasetzfs file system
Embedded reference data

Quick lookup tables

Filesystems → ZFS filesystem map

Fast namespace, metadata, capacity, attachment and verification boundaries for Filesystems → ZFS.

Filesystem boundaryWhat to verifyProof limit
Identity / attachmentFilesystem type, source/backing object, mount/attachment target and effective optionsPresence or mount state alone does not prove consistency or lower-layer health
Capacity / metadataData space, metadata/inodes, quotas/reservations and filesystem stateFree bytes at one layer do not prove allocation can succeed end to end
Failure boundaryAn ONLINE pool and mounted dataset prove current topology/access state; they do not prove all blocks have been scrubbed, backup exists or every workload write is application-consistent.Correlate filesystem evidence with the backing volume/path/backend before repair
AcceptanceHealthy evidence: pool/vdev topology is healthy, dataset mounts as intended, checksum/device error counters are understood, capacity is available and recent scrub/read verification shows no unexplained faults.Close only after the original path/workload and read-back check succeeds
Confirmation

Confirm action

Continue?