What is ZFS?
ZFS is a file system and volume manager in one. It turns the disks in a server into a storage pool, checks everything it reads for corruption, and can copy snapshots to another machine.
Talk to an engineer Knowledge base
Where it comes from
ZFS was created at Sun Microsystems and lives on as the free OpenZFS project. It runs on Linux and is built into Proxmox VE and TrueNAS. Because it manages the disks and the files together, it knows which disk holds which copy of your data and can fix a bad copy from a good one.
The ideas worth knowing
- Pools: the disks are grouped into one pool. A mirror keeps identical copies on two or more disks. RAID-Z spreads data so the pool survives one, two or three failed disks, depending on the level chosen.
- Self-checking: ZFS notices when a disk quietly returns damaged data and repairs it from another copy. A scheduled check, called a scrub, reads the whole pool.
- Snapshots: a frozen view of a file system or virtual disk, created almost instantly and using space only as the data changes.
- Copies to another server: snapshots can be sent to a second ZFS machine. After the first full copy, only changes travel.
- Compression: data can be compressed as it is written, which saves space at little cost in speed.
- Hardware needs: ZFS should see each disk directly, not through a hardware RAID card. It uses spare memory to speed up reads, so a server short of memory feels slow.
ZFS or Ceph
ZFS is storage inside one server. If that server stops, so does its pool, though a replica on a second server can take over without the latest changes. Ceph spreads storage across several servers so losing one stops nothing, at the cost of more hardware and care. Our storage service page explains when each fits. Neither replaces a backup.
How we choose
We run Proxmox and Ceph for our own infrastructure and build Proxmox servers for clients. ZFS is the storage built into Proxmox, and for a single host or a pair it is where our design starts. When storage must keep running through the loss of a whole server, we plan Ceph.
Related services
Ceph and ZFS storage
Choosing, building and looking after business storage.
Proxmox consulting
Virtualization hosts on ZFS or Ceph.
Backup and disaster recovery
The separate copy snapshots cannot replace.
Learn more
- OpenZFS documentationThe official manual, with setup guides per operating system and command reference pages.
- OpenZFS project siteProject news and the list of systems ZFS runs on.
- ZFS on WikipediaThe history from Sun to OpenZFS and a summary of the features, for background reading.
- ZFS on Linux in the Proxmox VE wikiHow Proxmox VE uses ZFS, including pool layouts, memory settings and replacing a failed disk.
Related guides
LinuxProxmox VECephClustersSupermicroOpen sourceKubernetesTalos Linux
Planning storage for a Proxmox server
Tell us how many servers you have and what runs on them, and we will recommend ZFS, Ceph or both.
Start a conversation