cetrafs
ReferenceInformation-oriented

Reference

Exact, complete technical facts: tools, mount options, procfs, module parameters, limits, the on-disk format, and error meanings.

Reference pages describe what cetrafs is and does, completely and without opinion. Look things up here while you work. For guidance on what to do, see the how-to guides; for why, see Concepts.

All four userspace tools share one exit-code convention:

Exitmkfs.cetrafsck.cetradefrag.cetragrowfs.cetra
0SuccessCleanDoneGrown (or dry run completed)
1Couldn’t createProblems foundFailedCouldn’t grow
2Bad invocationBad invocationBad invocationBad invocation
3Device inaccessible, or mounted locally or by a live peerCouldn’t examine the devicen/aDevice inaccessible, or mounted locally or by a live peer
mkfs.cetra Create a cetrafs volume: synopsis, every option with its default and bounds, auto-tuning, what it writes, and exit codes. fsck.cetra Check and repair a cetrafs volume: synopsis, offline and live checks, the four passes, what -r repairs and refuses, and exit codes. defrag.cetra Online per-file defragmentation: synopsis, how it stays safe, refusals, exit codes and the background defragmenter. growfs.cetra Grow a cetrafs volume into space its device already has, live or offline: synopsis, options, preconditions, what it writes, refusals and exit codes. Mount options The cetrafs mount options, the read-only observer mode, the cluster-wide file-lock mode, discard, fcntl locks, what a stopped mount does, and remount rules. /proc/fs/cetrafs The files and fields cetrafs publishes under /proc/fs/cetrafs/<dev>/: info, properties, cluster and the writable controls. Module parameters cetrafs kernel module parameters: defaults, bounds, which ones are meant for production, and the test-only parameters a packaged build refuses. Limits and unsupported operations Hard limits of the on-disk format, operations cetrafs deliberately does not support, the requirements a deployment must meet, and operational characteristics worth knowing. On-disk format The cetrafs on-disk layout, format 0x000A: superblock and its copy, Zone and Block Group descriptors, Node Registry, journals, inodes, extents, directory entries and feature flags. Troubleshooting Symptoms, error messages and counters, with what each one means and where to go next. Glossary Definitions of the terms used in the cetrafs docs, from ATS and COMPARE AND WRITE to extents, fence epochs, Zone Groups and the Node Registry.