TechnologyFile system

ZFS

Also known as: OpenZFS, Zettabyte File System

Combined file system and volume manager, created at Sun Microsystems, that pools disks and checksums every block to protect data integrity.

ZFS is a combined file system and logical volume manager originally developed at Sun Microsystems for the Solaris operating system. Instead of placing a file system on top of a single disk or a separate RAID layer, it gathers disks into storage pools and lets many file systems share that pooled space. Its design centers on data integrity: every block is checksummed, so the system can detect silent corruption and, where redundant copies exist, repair it automatically. The open-source implementation is maintained by the OpenZFS project.

A Sun team including Jeff Bonwick and Matthew Ahrens designed the system, and its source code was released with OpenSolaris in 2005. ZFS uses copy-on-write: changed data is written to fresh blocks rather than overwriting old ones, which keeps the on-disk state consistent and makes snapshots and clones nearly instant. RAID-Z provides single, double or triple parity, and send and receive commands replicate snapshots between machines. After Oracle acquired Sun and closed Solaris development, developers formed OpenZFS in 2013 to coordinate work across illumos, FreeBSD, Linux and macOS.

Storage builders value ZFS for Network-Attached storage appliances such as TrueNAS, for virtualization hosts such as Proxmox VE and for home servers where protection against bit rot matters. Using it well requires planning pool layouts in advance, and features such as deduplication can demand large amounts of memory. Licensing is a further complication. Because its Common Development and Distribution License (CDDL) is widely considered incompatible with the GPL used by the Linux kernel, ZFS is distributed for Linux as a separate module rather than merged into the kernel, while FreeBSD includes it in its base system.

Key points

  • ZFS merges volume management and the file system, letting many datasets share one pool of disks.
  • End-to-end checksums detect silent data corruption, and redundant copies allow automatic repair.
  • Copy-on-write design makes snapshots, clones and incremental replication fast and space-efficient.
  • OpenZFS, formed in 2013, maintains the open-source code for Linux, FreeBSD and other systems.

Related entries

Technology

TrueNAS

FOSSDevOpsHardware

Network-attached storage operating system from iXsystems built on OpenZFS, offering file sharing, snapshots, replication and apps for homes and businesses.

Technology

Proxmox VE

DevOpsFOSSHardware

Open-source server virtualization platform based on Debian that manages KVM virtual machines and Linux containers through a web interface.

Glossary term

RAID

HardwareDevOps

Technique that combines multiple disk drives into one logical unit to improve performance, provide redundancy against drive failure or both.

Glossary term

Dedicated file storage device or server connected to a network, providing shared storage to multiple computers and users through standard file protocols.

Technology

Free and open-source Unix-like operating system descended from Berkeley Software Distribution, valued for its networking, ZFS support and permissive license.

Glossary term

Homelab

HardwareDevOpsAI

Personal computing environment used to experiment with servers, networking, virtualization and other technologies for learning, testing or self-hosting.

Glossary term

Backup guideline recommending three copies of important data, on two different types of storage, with one copy kept off-site.

Technology

Linux

FOSSHardware

Free and open-source Unix-like kernel created by Linus Torvalds in 1991 that underpins Android, most servers and many embedded devices.

Featured in guides

Referenced by

Other entries that discuss or point to ZFS.