Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

ZFS

Direct answer

ZFS organizes leaf devices into vdevs, combines top-level vdevs into a zpool, and allocates checksummed copy-on-write blocks to datasets or zvols. Pool redundancy is determined by each top-level data vdev, while dataset properties control logical behavior above the pool. End-to-end health requires proving pool topology, vdev/device health, dataset state, capacity, integrity and workload behavior separately.

When to use this

Use it when the storage question has been narrowed to ZFS. Map the workload through dataset/zvol and pool/vdev topology, separate cache/log/snapshot state from authoritative data protection, and preserve topology plus recovery evidence before state-changing actions.

First 30 seconds

1. ZFS integrates RAID, volume management and filesystem.

2. End-to-end checksums with self-healing.

3. Keep pools under 80 %.

4. Scrub monthly.

5. Use HBAs (not RAID controllers).

Operational verification

datasets/zvols → 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 pool reported ONLINE shows the currently imported topology satisfies ZFS availability rules, but it does not show every block has been read recently, application consistency, performance headroom, or recoverable backups.

Suspicious evidence: topology differs from design, a top-level vdev is degraded/faulted, error counters increase, the pool is near capacity, scrub/resilver repeatedly reports errors, or snapshot/cache/log state is being treated as backup or integrity evidence.

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 · Linux
Key commandsudo zfs list
Scope / prerequisiteUse it when the storage question has been narrowed to ZFS. Map the workload through dataset/zvol and pool/vdev topology…
Reference · 1
What next?3 suggested next steps
Child topics (this level)27
Catalog command links1
Evidence2
On this pageJump to a specific section
Storage command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 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

workload → dataset/zvol → ZFS object/block mapping → zpool → top-level vdev → leaf/auxiliary devices → media/path → checksum/read-back

Healthy evidence: expected pool imports with the intended top-level vdev layout, all required devices are present, no persistent checksum/read/write errors are accumulating, capacity headroom is known, and representative reads/writes succeed.

Step 2 Operational verification Verify boundary

Pools, vdevs, datasets, snapshots, checksums, resilvering and ZFS health interpretation.

Fast verification

  • Start with zpool status -v, zpool events and zfs list.

- Separate pool/vdev device health from dataset property/space behavior.

- Do not clear or replace devices until the fault, redundancy level and resilver impact are understood.

Step 3 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 → ZFS. Local intent: ZFS is a copy-on-write storage stack that combines pooled block allocation, integrity metadata, filesystems and block volumes with snapshots, checksums, caching and replication primitives.

Evidence references

Evidence · 2 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 · 1command output · 1
Drill down

Subtopics

Go one level deeper into this subject.

Subtopic ZFS Fundamentals

ZFS Fundamentals covers the core object hierarchy, copy-on-write transaction model, checksumming, pooled allocation and proof boundaries needed before administering or troubleshooting ZFS.

Subtopic Zpool

Zpool documents the storage-pool boundary that aggregates top-level vdevs and provides the allocation, capacity and failure domain consumed by ZFS datasets and zvols.

Subtopic VDEV

VDEV explains the virtual-device building blocks that define ZFS redundancy, allocation, performance and the failure boundary beneath a zpool.

Subtopic Dataset

Dataset covers ZFS filesystem datasets: independently configurable namespaces that share a pool while exposing properties, quotas, reservations, snapshots and mount behavior.

Subtopic Zvol

Zvol documents ZFS volumes that expose block devices backed by pool storage for consumers such as filesystems, virtual machines and databases.

Subtopic Mirror VDEV

Mirror VDEV covers ZFS top-level mirrors where each child stores a complete copy of allocated blocks and reads can be serviced from any valid replica.

Subtopic RAIDZ1

RAIDZ1 documents ZFS RAIDZ with 1 parity block per stripe, defining usable capacity, write behavior and tolerance inside each top-level vdev.

Subtopic RAIDZ2

RAIDZ2 documents ZFS RAIDZ with 2 parity blocks per stripe, defining usable capacity, write behavior and tolerance inside each top-level vdev.

Subtopic RAIDZ3

RAIDZ3 documents ZFS RAIDZ with 3 parity blocks per stripe, defining usable capacity, write behavior and tolerance inside each top-level vdev.

Subtopic Recordsize

Recordsize covers the ZFS dataset property that controls the target maximum logical block size for file data and strongly influences compression, random I/O and read-modify-write behavior.

Subtopic Ashift

Ashift covers the ZFS vdev alignment shift that defines the minimum sector-sized I/O unit as 2^ashift bytes and is normally fixed for a top-level vdev at creation.

Subtopic ARC

ARC documents the Adaptive Replacement Cache in RAM, ZFS primary read cache for data and metadata with adaptive recency/frequency behavior.

Subtopic L2ARC

L2ARC documents the optional second-level ZFS read cache on fast storage used after ARC to retain additional cached blocks outside RAM.

Subtopic ZIL

ZIL covers the ZFS Intent Log used to satisfy synchronous-write durability by recording committed-but-not-yet-transaction-group-flushed operations for crash recovery.

Subtopic SLOG

SLOG documents a separate log vdev that stores ZFS Intent Log records on dedicated media to reduce latency for synchronous writes when the main pool is slower.

Subtopic Special VDEV

Special VDEV covers the ZFS special allocation class that permanently stores selected metadata and, when configured, small data blocks rather than merely caching them.

Subtopic Cache

Cache documents ZFS cache behavior as a hierarchy dominated by ARC in RAM and optional L2ARC cache vdevs, with cache evidence separated from backend storage health.

Subtopic Compression

Compression covers transparent per-dataset ZFS block compression, its capacity and I/O implications, and the distinction between logical and physical bytes.

Subtopic Deduplication

Deduplication covers ZFS block-level duplicate elimination using the deduplication table (DDT), including memory/metadata cost and proof boundaries.

Subtopic Checksumming

Checksumming covers ZFS end-to-end block integrity metadata used to detect corruption and, when a valid redundant copy exists, support self-healing reads.

Subtopic Scrub

Scrub covers the ZFS integrity scan that reads allocated data and metadata, verifies checksums and repairs bad copies where valid redundancy permits reconstruction.

Subtopic Snapshot

Snapshot covers ZFS read-only point-in-time dataset states created through copy-on-write block-reference preservation.

Subtopic Clone

Clone covers writable ZFS datasets or volumes created from a snapshot while initially sharing referenced blocks through copy-on-write.

Subtopic Send / Receive

Send / Receive covers ZFS snapshot stream generation and application for full or incremental transfer of dataset states between locations or pools.

Subtopic Replication

Replication covers repeated ZFS snapshot transfer and retention workflows, commonly built on send/receive, to maintain additional recovery states on another pool or system.

Subtopic Resilver

Resilver covers ZFS reconstruction of missing or outdated redundancy after a device is replaced, reattached or otherwise needs its allocated blocks brought current.

Subtopic ZFS Troubleshooting

ZFS Troubleshooting is the evidence-driven method for isolating pool, vdev, device, capacity, integrity, cache/log/special-class, dataset or workload symptoms before changing state.

Key points
  • ZFS pool ≠ filesystem dataset.
  • Top-level vdev redundancy determines the pool failure boundary; adding capacity does not automatically widen existing redundancy.
  • Snapshot ≠ independent backup.
  • Checksums detect corruption, but repair requires another valid copy of the affected block.
Key checks
  • zpool status -x — pool health
  • zpool list — capacity/fragmentation
  • zfs list -o name,used,avail,compressratio — datasets
ReferenceWhat it is2 sections · depth on demand

Operational scope

Pools, vdevs, datasets, snapshots, checksums, resilvering and ZFS health interpretation.

ZFS maps dataset/zvol I/O through ARC/ZIL and metaslabs to vdev topology and physical devices, with checksums validating blocks on read. Pool ONLINE does not show capacity headroom, every device/path or application latency is healthy. A scrub validates readable checksummed data it visits but does not show backup recoverability or application consistency. Close with Inspect pool/vdev errors and capacity, correlate device health/latency, run the original read/write and verify read-back/checksum outcome after controlled remediation. and state what the evidence does not show.

What it is

Pools, vdevs, datasets, snapshots, checksums, resilvering and ZFS health interpretation.

ZFS maps dataset/zvol I/O through ARC/ZIL and metaslabs to vdev topology and physical devices, with checksums validating blocks on read. Pool ONLINE does not show capacity headroom, every device/path or application latency is healthy. A scrub validates readable checksummed data it visits but does not show backup recoverability or application consistency. and state what the evidence does not show.

ReferenceWhy it matters1 section · depth on demand

When to use it

Use ZFS when the problem concerns block devices, pools, placement, filesystems, snapshots, backup/restore or performance.

ReferenceHow it works2 sections · depth on demand

How it works

Pools, vdevs, datasets, snapshots, checksums, resilvering and ZFS health interpretation.

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 → ZFS. Local intent: ZFS is a copy-on-write storage stack that combines pooled block allocation, integrity metadata, filesystems and block volumes with snapshots, checksums, caching and replication primitives.

ReferenceImportant terms & boundaries1 section · depth on demand

Topology

A pool reported ONLINE shows the currently imported topology satisfies ZFS availability rules, but it does not show every block has been read recently, application consistency, performance headroom, or recoverable backups.

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. 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
zfsopenzfsstorage zfszfs storageZFS troubleshooting
Embedded reference data

Quick lookup tables

ZFS evidence chain

Configuration, operational state, counters and downstream proof remain separate.

BoundaryQuestionEvidenceDoes not prove
DefinitionWhat is configured or intended?running configuration / controller policylive operation
Local stateIs the feature active at the expected scope?zpool statusremote success
CountersDid controlled traffic or an event reach this stage?scoped counters/timestampscomplete return path
Next boundaryWhat consumes or transports this state?physical device/failure domain → pool/volume/placement → filesystem/dataset → consumer I/O → backup/replica → tested restoreapplication success

ZFS ZFS map

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

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 pool reported ONLINE proves the currently imported topology satisfies ZFS availability rules; it does not prove every block has been read recently, application consistency, performance headroom, or recoverable backups.Correlate ZFS evidence with both workload and lower device/path evidence
AcceptanceHealthy evidence: expected pool imports with the intended top-level vdev layout, all required devices are present, no persistent checksum/read/write errors are accumulating, capacity headroom is known, and representative reads/writes succeed.Close only after original workload plus checksum/read-back/recovery verification succeeds
Confirmation

Confirm action

Continue?