Ceph: Unified Distributed Storage
Ceph is serious distributed storage, and it is worth being clear upfront that it is not a homelab NAS.
Three interfaces, one cluster
RADOS is the object store underneath. On top of it:
- RBD, block devices for virtual machines, which is how Proxmox and OpenStack back their VMs
- CephFS, a POSIX filesystem with a metadata server
- RGW, an S3-compatible gateway
One cluster serving all three is the proposition, and it is genuinely unusual. MinIO, Garage and SeaweedFS do object storage only, far more simply.
How it places data
Data is split into objects, hashed into placement groups, and distributed across OSDs by the CRUSH algorithm, with replication or erasure coding for durability. No central metadata lookup for object placement, which is what lets it scale.
Monitors hold cluster state and must maintain quorum, so you run three or five, not two.
The honest requirements
This is where people get hurt.
- At least three nodes, realistically more. A one-node Ceph cluster is a worse ZFS
- Separate network for replication if you want predictable client latency
- Enterprise SSDs with power-loss protection for anything serving block storage; consumer drives perform catastrophically on Ceph’s write pattern
- Memory, roughly 4GB per OSD as a planning figure
- Real operational attention: rebalancing, scrubbing and failed-disk replacement are routine events
For a single machine with some disks, ZFS or Btrfs give you checksumming and snapshots with none of this. Our RAID guide covers the simpler redundancy options.
When it is right
Several nodes, VMs needing shared block storage so they can migrate, and a requirement that losing a node changes nothing. That is the Proxmox cluster or private cloud case, and Ceph is the standard answer to it.
Operational caution
ceph -s should read HEALTH_OK. A cluster left in HEALTH_WARN for weeks is a cluster whose operator has stopped reading it, and that is how data is eventually lost.
Never let the cluster approach full. Ceph stops accepting writes near capacity by design, and recovering a full cluster is considerably harder than not filling it.
License
Ceph is released under the GNU Lesser General Public License v2.1.