Suggested reading paths
You do not have to read the book from cover to cover. Each path is for one kind of reader: which parts, in what order, why, how long it takes and what you can do afterwards.

Pick your path
I'm new to Ceph
A student or engineer meeting Ceph for the first time, who wants to know what it is, why it exists and how a small cluster comes up.
Before you start
Some Linux and networking, and what RAID is. The hands-on part needs about four small virtual machines; the layout is in the section on building a virtual lab.
After this path you can
- You can explain what RADOS, CRUSH, pools and PGs each do.
- You bring up a small test cluster with cephadm.
- You meet a block image, an object bucket and a CephFS file system.
- You can read the output of ceph -s and the PG states.
Why Ceph, and how it is built
The problem first: why software-defined storage, and why one platform for block, object and file.
If you have run RAID, see why rebuilds and spare disks stop working at this scale; if not, skip it.
The mental map of the whole system: RADOS, the daemons, CRUSH, pools and the path of a written object.
Type an object name and watch it become a PG and then OSDs. Nothing to install.
Your first cluster
Prepare the lab machines: how many nodes, how many disks, which network.
Bootstrap the cluster with cephadm and add hosts and OSDs.
On your own cluster: create a pool, write objects, look at PGs and make a block device.
The three interfaces
Creating, mapping and resizing an RBD block image.
Objects, buckets and the API in Ceph: what RGW is and how it sits on RADOS.
CephFS and the MDS: the architecture, creating a file system and availability.
Reading the cluster's language
The hierarchy, weights and rules of CRUSH; without them the output of ceph osd tree stays opaque.
Build a CRUSH tree, mark an OSD out and see which PGs move.
The write path, the PG states and what size and min_size mean: the things you see in ceph -s.
Keep the command cheat sheet at hand.
After this path: SRE / operator · S3 developer · Kubernetes / platform · Storage architect
I run Ceph in production
An SRE or operator responsible for the health, capacity and upgrades of a live cluster, who has to decide quickly during an incident.
Before you start
Linux and the basic ceph commands, and a feel for pools, PGs and OSDs (the newcomer path or chapter 1 is enough). Access to a test cluster helps.
After this path you can
- You check the cluster with a fixed routine: health, capacity and alerts.
- You replace disks and take hosts out for maintenance the right way.
- You troubleshoot HEALTH_WARN and stuck PGs with a method, and you know the dangerous tools.
- You know what to do in the worst cases, such as losing every MON.
- You upgrade and tune with a safe routine.
Day-to-day operation
Services, configuration, growing and shrinking the cluster, replacing disks and capacity.
Disk replacement, host maintenance, maintenance flags, the autoscaler and the balancer. On a first pass skip the "Inside the code" sections.
See which OSD sets MAX AVAIL and which OSDs reach nearfull and full when a host is lost.
Seeing trouble coming
Prometheus, the key signals, alert design and dashboards. A good alert is half the troubleshooting.
When something breaks
The troubleshooting method, MON and OSD problems, PG states, slow ops and the dangerous tools. Skip the code-level sections on a first pass.
The symptom-to-action table: start here during an incident.
Split the network and see which side keeps quorum.
The layers of defence, from copies inside the cluster to an independent backup.
If every MON is lost: prevention and rebuilding from the OSDs.
A backup independent of the cluster, so one logical accident cannot take everything.
If a site is lost: monitoring sync, switchover, failover and failback, and a DR drill checklist.
Upgrading and tuning
The step-by-step upgrade guide from Reef to Squid and Tentacle, with a checklist and the one-way steps.
Method and layers: measure before you touch a setting, then change one thing at a time.
See how one OSD splits its capacity between clients, recovery and background work.
How scrubs are scheduled and what the night window does.
The cheat sheet, to find a command fast and to see which ones are dangerous.
After this path: Upgrade in a hurry · Storage architect · Code reader / contributor
I build applications on S3 and RGW
A developer or platform engineer building a service on the S3-compatible API who needs to know how RGW behaves under load, on failure and across sites.
Before you start
You have used S3 (buckets, objects, aws-cli or an SDK). No Ceph knowledge is needed; read the first step if you want the background.
After this path you can
- You create RGW users, keys and quotas and connect with aws-cli or an SDK.
- You use versioning, Object Lock, lifecycle and bucket policy correctly.
- You know why a large bucket gets slow to list and how to design keys.
- You understand SigV4, server-side encryption and STS, and can debug an authentication error.
- You can predict how your application behaves when sites fail over.
Meeting RGW
If Ceph is new to you: the mental map of RADOS, pools and PGs that RGW is built on.
Objects, buckets and the API; RGW on RADOS; and what an S3 object looks like in RADOS.
Users, keys, tenants, quotas and rate limits.
DNS and virtual-host access, s3cmd, aws-cli and the SDKs, and multipart upload.
If you run Hadoop or Spark: connecting through S3A.
S3 features in depth
Versioning and Object Lock, lifecycle and storage classes, bucket policy and IAM, server-side encryption, event notifications.
RGW security from threat model to hardening: SigV4, policy evaluation order, STS, SSE and Object Lock.
Build a request, watch the signature form step by step, then tamper with it to see the error.
Behaving well at scale
Index shard choice, dynamic reshard and ordered listing: the basis for designing buckets and keys.
Grow a bucket to millions of objects and see when, and into how many shards, it splits.
Follow a PUT to the bucket index and the data pool, with the RADOS objects it creates.
Rate limits for users and buckets: how they are set and enforced.
Across sites
The realm, zonegroup and zone hierarchy, and what is replicated and how.
When the master zone is unavailable: failover, failback and a short runbook.
Lay out a multisite configuration and see what a period commit does.
Frequently used commands, troubleshooting and the Admin Ops API.
After this path: Storage architect · SRE / operator
I provide storage for Kubernetes
A platform engineer who provides persistent storage (PVCs) to Kubernetes, with Rook or with an external Ceph cluster.
Before you start
You know Kubernetes (PVCs, StorageClasses, operators). If Ceph is new to you, do not skip the first step.
After this path you can
- You choose knowingly between Rook inside Kubernetes and an external Ceph cluster run by cephadm.
- You know the difference between a block PVC (RBD) and a file PVC (CephFS).
- You create a user with minimal capabilities for a client.
- You understand snapshots and clones of a volume.
- You run Ceph monitoring and troubleshooting next to Kubernetes monitoring.
Ceph basics
RADOS, the daemons, CRUSH and pools: the vocabulary that Rook and ceph-csi take for granted.
Choosing and deploying
Rook: the architecture, when to choose it, a basic installation, and the external cluster mode.
If you run Ceph outside Kubernetes: declarative deployment with cephadm.
From lab to production: the pre-deployment checklist and the work after bootstrap.
Change management and GitOps for storage.
Volumes for pods
The image layout, its features and the client access paths: the basis of a block PVC.
Creating a least-privilege user and moving the configuration to the client.
Snapshots and clones in RBD: the mechanism behind a volume snapshot and a volume clone.
See which objects a clone reads from its parent and when flatten becomes necessary.
Client access to CephFS: a restricted user, the kernel client and ceph-fuse: the basis of a file PVC.
Subvolumes, snapshots and quotas in CephFS: the unit that manages a share.
krbd in practice: the kernel client on your Kubernetes nodes.
Running it
The monitoring architecture: Prometheus and how it talks to the cluster.
Designing alert rules.
The troubleshooting method and the common warnings.
The symptom-to-action table for the nights a pod is stuck waiting for a volume.
Pool and client design for performance.
After this path: SRE / operator · Storage architect
I design and size clusters
An architect or capacity planner who must settle hardware, network, the level of data protection and growth before buying and deploying.
Before you start
You know the basic Ceph concepts (pools, PGs, OSDs, CRUSH); if not, take the newcomer path first. Some enterprise storage background helps.
After this path you can
- You justify hardware, network and node count with numbers, starting from the requirements.
- You choose between replication and erasure coding by usable capacity, rebuild cost and network traffic.
- You predict usable capacity and the behaviour at nearfull and full.
- You estimate SSD lifetime and the space overhead of small objects.
- You choose a protection pattern against the loss of a site.
Sizing it
From requirements to architecture: hardware per daemon, network, capacity and fill ratios, failure domains and node count.
PG count, the probability of data loss and rebuild time in numbers, and the comparison with RAID.
See usable capacity and the effect of losing a host before you buy.
PG count by the classic method and by the pg_autoscaler.
Protecting the data
Erasure coding: where EC and where replication, plugins and profiles, and FastEC.
Change k, m and the plugin and compare usable capacity and repair cost.
Public and cluster network traffic with replication and EC, and the rebuild of a node.
Media and layout
A pool on specific OSDs: the pattern and its pitfall.
Device layout, block.db size, min_alloc_size, compression and checksums.
How much raw disk a small object really takes.
How many flash bytes are written per client byte, and how long the SSD lasts.
Today's alternatives to tiering: device classes, storage classes and deduplication.
Failure and growth
The layers of defence, from copies to an independent backup.
Multisite concepts: the hierarchy and what is replicated.
Performance and design across sites.
Stretch mode: one cluster across two sites and its behaviour on failure.
Choosing a DR topology by RPO and RTO: stretch versus multisite, RBD mirroring and CephFS mirroring.
The hardware baseline: measure disk and network before trusting the claimed numbers.
How to structure a benchmark report.
The release table: which release is supported until when.
After this path: SRE / operator · S3 developer
I have to upgrade soon
An operator who must take a cephadm-managed cluster from Reef to Squid and then Tentacle and wants only what a safe upgrade needs.
Before you start
A cluster managed by cephadm, admin access and a maintenance window. Rehearse on a test cluster first if you can.
After this path you can
- You choose the supported path and the right target release.
- You run the pre-upgrade checklist and back up keyrings, configuration and maps.
- You drive the upgrade with cephadm and know which steps are one-way.
- You know in advance the changes that can break something, such as the cephx key type.
Before the upgrade
The one document to read in full: supported paths, the checklist, the steps and what cannot be undone.
The notable changes in Reef, Squid and Tentacle that affect your cluster.
The release table: your target and its end-of-support date.
An independent backup: what do you go back to if the upgrade goes badly?
During the upgrade
Upgrading with cephadm: the order of the daemons and staggered upgrades.
The maintenance flags that stop unwanted rebuilding.
The same topic in the operations chapter: staged and limited upgrades.
If something looks wrong
The troubleshooting method and the common warnings.
What the PG states mean: which are normal and which are not.
The symptom-to-action table.
The upgrade commands in the cheat sheet.
After this path: SRE / operator
I want to read or contribute to the Ceph code
A C++ developer who wants to follow a request from librados to disk, find the cause of a behaviour in the code, or send a patch to Ceph.
Before you start
C++ and Linux systems programming, and an operator's knowledge of Ceph (the newcomer path). A test cluster or a vstart cluster for the exercises.
After this path you can
- You know the repository map, the main classes and the thread model.
- You follow a complete RADOS write, function by function.
- You read peering, the PG log and recovery in the code.
- You read the BlueStore and RocksDB on-disk formats byte by byte.
- You follow the CRUSH computation down to the bit.
Getting oriented
The repository map, build and development environment, the main classes, the thread model and a full write path.
Inside the code: placement, authentication and messaging.
Every command-line command and option with its source line; the undocumented and stale ones are a good place for a first patch to the code or the docs.
The RADOS core
- Chapter 34Specialist Part (1): RADOS — Object Identity, Metadata and the Op Path Inside the OSD35 min
Object identity, per-object metadata and the op path inside the OSD.
- Chapter 35Specialist Part (2): RADOS — The PG Log, Intervals, Missing Sets, and How Recovery and Backfill Work30 min
The PG log, intervals, missing sets and how recovery and backfill work.
Step through three stories of one PG and watch the peering state machine.
- Chapter 36Specialist Part (3): RADOS — Snapshots and Clones, Watch/Notify, OSD-Side cls, and the rados and pool Referenceoptional15 min
Snapshots and clones, watch/notify and OSD-side cls.
The storage engine
Inside the code: BlueStore.
The BlueStore and BlueFS on-disk format.
RocksDB inside BlueStore: the WAL, memtable, SSTs and compaction.
Placement and the network
CRUSH at the bit level, from rjenkins to upmap.
Build the same rules on a tree and watch the PGs move.
msgr2 at the byte level.
- Chapter 33Lower Layers (11): Memory and CPU Inside the OSD — from mempool to NUMA and Profilingoptional15 min
Memory and CPU inside the OSD.
Crimson and Seastar: the next-generation OSD.
After this path: SRE / operator
The times are counted from the text itself (reading time, plus hands-on time for steps that have exercises) and rounded to five minutes; treat them as a floor. If you follow a path, your browser remembers it and shows the next step at the end of each page on the path. Nothing leaves your browser.