0.10.6 Linux kernel module + tools · GPL / AGPL
Many hosts, one LUN.
One filesystem.
cetrafs, said /ˈtʃɛtra ɛf ɛs/, CHEH-trah ef-ess (cetra as in Italian, then the English letters F and S), is a clustered, shared-disk filesystem for Linux. Several hypervisors mount the same iSCSI or Fibre Channel LUN at once and keep their VM disk images directly on it, coordinating through the storage itself. It is an open alternative to VMFS.
Shared-disk clustering
Up to 64 nodes mount one block device. Each node allocates only from the Zone Groups it owns, so two nodes never draw from the same free-space pool.
One atomic primitive
Every contested claim is a single SCSI COMPARE AND WRITE on one 512-byte record. It is the same idea as VMFS's ATS, with no DLM, no corosync and no network protocol in the data path.
Crash consistent
Each node has its own write-ahead redo journal. It is replayed at mount and whenever a dead peer is reclaimed, and a replay guard refuses to roll back blocks that someone else has since rewritten.
Checksummed end to end
CRC32C on every on-disk structure and on every 512-byte sector of the allocation bitmaps, verified by the kernel on read. Damage found at runtime is contained to the file it touches.
Live migration
With nofilelock, a VM image can be open on two nodes during a Proxmox/qemu online-migration handoff, and the handoff stays coherent even across a snapshot.
Online maintenance
Grow a mounted volume, give freed space back to a thin LUN, defragment live images, and let a background scrubber reclaim leaked blocks. fsck.cetra can check a volume while it is in use.
Built for one workload
cetrafs is a VM datastore, not a general-purpose POSIX cluster filesystem. Keeping to that narrow contract is what lets it run without a cluster lock manager in the I/O path.
Find what you need
Pick a section based on what you are trying to do.
Learn by doing
Guided lessons, from a throwaway loop-device volume to a Proxmox cluster that live-migrates VMs.
- Your first cetrafs volume
- A two-node cluster on a shared LUN
- A Proxmox VE shared datastore
Get a job done
Short recipes for operators: install, probe storage, tune for multipath, repair, recover.
- Check a LUN for atomic CAW
- Set the stale window for multipath
- Recover from a node failure
Understand the design
Why cetrafs works the way it does: coordination, locking, journaling, fencing, and how it compares to VMFS and GFS2.
- Cluster coordination
- Fencing and split-brain
- cetrafs vs GFS2
Look it up
Exact facts: tool flags and exit codes, mount options, procfs fields, module parameters, limits, the on-disk format.
- mkfs.cetra
- /proc/fs/cetrafs
- Limits and unsupported operations
Tested harder than it is built
Every change has to pass 837 regression suites and about 6,600 assertions, and five suites in six prove they fail without the fix they guard. Two-node scenarios run on real Fibre Channel and iSCSI storage, crash tests replay every write up to arbitrary cuts, and hostile images are fuzzed against fsck and the mount. There is more test code than filesystem code.