diskiller's domain

zfs-ondiskformat

An independently written specification of the ZFS on-disk format for modern OpenZFS, in 16 chapters.

Background

The authoritative reference for ZFS on-disk layout is the ZFS On-Disk Specification published by Sun Microsystems in 2006. That document covers the foundational structures — virtual devices, block pointers, the Meta Object Set, DMU, DSL, ZAP, ZPL, ZIL, and ZVOL.

OpenZFS has added substantial functionality since 2006. Native encryption, dRAID, block cloning, persistent L2ARC, deduplication tables, and the feature flag mechanism — none of these appear in the original specification. Existing documentation for these additions is scattered across mailing lists, OpenZFS GitHub history, source code comments, and conference talks.

This project extends the original specification to cover the current state of OpenZFS, written from the publicly available source code. It is not a fork or reformatting of the original — it is independently written content organized to match the structure of the 2006 document and fill in everything that came after.

Contents

Status

Phases 1 through 3 are complete. The document is currently in maintenance mode. Planned Phase 4 work covers advanced topics: send/receive stream format details, MOS object-directory reference material, zdb verification guidance, and feature-activation behavior mapping.

License

New content is MIT licensed. Content derived from the original Sun Microsystems specification is under the Berkeley License.

Source

github.com/mminkus/zfs-ondiskformat