Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Ceph

Direct answer

Ceph is distributed storage: data is stored as objects in pools, split into placement groups, and spread by the CRUSH algorithm over OSDs — one per disk — on different hosts. Monitors keep the cluster map; clients talk directly to the OSDs.

When to use this

Use it for the first look at a Ceph cluster: is it healthy, is data available, and is there room.

First 30 seconds

1. Ceph is distributed storage: RADOS objects served as block (RBD), file (CephFS) and object (RGW).

2. Health needs MON quorum, active MGR, OSDs up/in and PGs active+clean.

3. Keep below nearfull (85 %).

4. Separate public and cluster networks.

5. HEALTH_OK does not prove client latency is fine.

Operational verification

client → MON maps → CRUSH → PG → OSDs → disks

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

It does not show backup coverage, application consistency, physical failure-domain independence, causation outside the observed time window or safety of destructive/force operations. A green summary shows only current checks are not reporting a warning, but it does not show every client path, object, replica, device, failure domain or backup is healthy.

Suspicious evidence: HEALTH_WARN/ERR, unexpected monitor quorum, OSD down/out, inactive or degraded PGs, capacity pressure, slow ops, repeated recovery or a healthy summary while one client service still fails.

Next check: Continue at the first failing step in MON/MGR/OSD/MDS, Pools/PG/CRUSH, client service (RBD/CephFS/RGW), public/cluster Networking, Storage Performance, Physical Media or Backup/DR; preserve evidence, make one minimal change and repeat the original workload plus redundancy/read-back verification.

Platform / version applicability
Ceph storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCeph storage · Ceph
Key commandceph orch ps [--daemon-type <type>]
Scope / prerequisiteUse it for the first look at a Ceph cluster: is it healthy, is data available, and is there room.
Reference · 1
What next?3 suggested next steps
Child topics (this level)28
Catalog command links1
Evidence2
On this pageJump to a specific section
Storage command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

4 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

client service (RBD/CephFS/RGW/librados) → MON map/auth → pool → PG → CRUSH → acting OSD set → BlueStore/media → acknowledgement/read-back

Healthy evidence: monitors have quorum, expected daemons are present, PGs are available with intended redundancy, capacity is below risk thresholds and a representative client read/write/read-back succeeds.

Step 2 Operational verification Verify boundary

Distributed storage health, MON/MGR/OSD roles, pools, placement groups, CRUSH and recovery behavior.

Fast verification

  • Start with ceph -s/ceph health detail, then ceph osd tree and ceph df.

- Separate MON quorum/control-plane health from OSD/data-placement health.

- Follow degraded/undersized PGs to the affected OSD/failure domain before changing CRUSH or reweighting.

Step 3 Verification & troubleshooting Narrow the fault

Path: Storage → Ceph. Local intent: Ceph is a distributed storage platform that exposes object, block and file services on top of RADOS while distributing placement, replication or erasure coding and recovery across storage daemons.

Step 4 Quality lift: branching diagnosis Narrow the fault

Concrete boundaries: client/RBD/CephFS → pool/object → PG mapping → acting set/OSDs → device/WAL/DB → acknowledgements → client completion → read-back.

Evidence references

Evidence · 2 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1command output · 1
Drill down

Subtopics

Go one level deeper into this subject.

Subtopic Ceph Architecture

Ceph Architecture separates cluster-map authority, data placement and client-facing services across MON, MGR, OSD and optional MDS/RGW components.

Subtopic RADOS

RADOS is Ceph’s distributed object-storage foundation: it stores objects in pools and coordinates placement, replication or erasure coding, consistency and recovery across OSDs.

Subtopic MON

Ceph Monitor (MON) daemons maintain authoritative cluster maps and use quorum to provide consistent cluster state to clients and daemons.

Subtopic MGR

Ceph Manager (MGR) daemons provide cluster management, telemetry and module endpoints such as dashboard, metrics and orchestration integrations.

Subtopic OSD

Object Storage Daemons (OSDs) store RADOS objects on local devices, serve client I/O, peer PGs, replicate or encode writes and participate in recovery, backfill and scrub.

Subtopic MDS

Metadata Server (MDS) daemons manage CephFS namespace metadata, directory hierarchy, metadata locks/capabilities and client metadata sessions.

Subtopic Pools

Ceph pools are logical partitions of RADOS objects that define placement and durability policy including replicated or erasure-coded layout, CRUSH rule, PG count and application association.

Subtopic Placement Groups

Placement Groups (PGs) are per-pool placement and recovery units that aggregate RADOS objects so Ceph can track distributed state at scalable granularity.

Subtopic PG States

PG States are composable labels such as active, clean, degraded, undersized, peering, remapped, recovering, backfilling, stale or inconsistent that describe availability and recovery condition.

Subtopic CRUSH

CRUSH is Ceph’s deterministic placement algorithm and hierarchy/rule system used to map PGs across OSDs according to weights, device classes and failure-domain policy.

Subtopic Failure Domains

Ceph failure domains describe the independent hardware or location boundaries across which CRUSH should place replicas or erasure-code shards to survive correlated failures.

Subtopic Replicated Pool

A replicated pool stores multiple full copies of each RADOS object according to pool size and CRUSH placement policy.

Subtopic Erasure Coding

Ceph erasure-coded pools split object data into k data chunks plus m coding chunks so data can be reconstructed after loss of up to the policy’s tolerated shard failures, subject to CRUSH placement and availability rules.

Subtopic RBD

RADOS Block Device (RBD) presents thin-provisioned block images backed by objects in Ceph pools and consumed by hosts, hypervisors or containers through librbd/kernel clients.

Subtopic CephFS

CephFS is Ceph’s distributed POSIX-like filesystem that stores file data in RADOS pools and relies on MDS daemons for namespace and metadata operations.

Subtopic RGW

RADOS Gateway (RGW) exposes object-storage APIs such as S3 and Swift while storing bucket metadata, indexes and object data in Ceph RADOS pools.

Subtopic Recovery

Ceph recovery restores missing or stale replicas/erasure-code shards after OSD or placement changes so PGs can regain intended redundancy.

Subtopic Backfill

Ceph backfill copies objects to an OSD when PG placement changes and the destination needs a broader population transfer to match the new acting set.

Subtopic Rebalancing

Ceph rebalancing is the broader redistribution of PG/object placement after topology, weight, device, capacity or PG-count changes so data converges toward current CRUSH policy.

Subtopic Scrubbing

Ceph scrubbing compares object metadata and integrity information across PG replicas or shards to detect inconsistencies; regular scrub is lighter than deep scrub.

Subtopic Deep Scrub

Ceph deep scrub performs a more intensive PG consistency check that reads object data and verifies stored/calculated checksums across replicas or shards.

Subtopic Autoscaler

Ceph PG autoscaler estimates appropriate placement-group counts per pool from usage, target sizing and pool characteristics and can apply or recommend pg_num changes depending on mode.

Subtopic HEALTH_OK

HEALTH_OK is Ceph’s top-level health summary when currently enabled health checks report no warning or error condition.

Subtopic HEALTH_WARN

HEALTH_WARN means one or more Ceph health checks report a warning condition that requires expansion into named checks and affected components before remediation.

Subtopic HEALTH_ERR

HEALTH_ERR is Ceph’s top-level critical health state indicating one or more error-class conditions with potentially immediate availability, integrity or operational risk.

Subtopic Cluster Network

Ceph cluster network is an optional private/back-side network used by OSDs for heartbeat, object replication, recovery and backfill when configured separately from the public network.

Subtopic Public Network

Ceph public network is the front-side network used by Ceph clients and monitors and, unless a separate cluster network is configured, can also carry OSD heartbeat, replication, recovery and backfill traffic.

Subtopic Ceph Troubleshooting

Ceph Troubleshooting isolates distributed-storage failures by preserving time-correlated evidence and finding the first failed boundary across client service, MON maps/quorum, pool/PG/CRUSH placement, OSD/device, networks and capacity.

Key points

active+clean is the normal placement group state. Degraded means fewer copies but data available; inactive, down or incomplete means requests hang. An OSD at 95 % blocks writes — plan to stay under about 75 %. Monitors need a majority.

Key checks
  • ceph -s — overall status
  • ceph health detail — warnings explained
  • ceph df — raw and pool usage
ReferenceWhat it is2 sections · depth on demand

Operational scope

Distributed storage health, MON/MGR/OSD roles, pools, placement groups, CRUSH and recovery behavior.

Operational checks for Ceph — Operational scope: Anchor stable filesystem/volume/LUN/share/device identities across host, path/fabric, controller/pool and media so retries or multipath do not hide the failed leg. Ceph maps client objects through pool/PG and CRUSH placement to acting OSDs; monitors provide cluster maps and managers expose telemetry. HEALTH_OK is cluster-level summary, not evidence of one RBD/file/object workload. Recovery/backfill can preserve availability while changing latency and redundancy margin, and a healthy PG state does not show the client path or filesystem layer. Close with Correlate the affected pool/PG/OSDs and client session, inspect recovery/error/latency for the same interval, then repeat the original I/O and verify data read-back. and state what the evidence does not show.

What it is

Distributed storage health, MON/MGR/OSD roles, pools, placement groups, CRUSH and recovery behavior.

Operational checks for Ceph — What it is: Anchor stable filesystem/volume/LUN/share/device identities across host, path/fabric, controller/pool and media so retries or multipath do not hide the failed leg. Ceph maps client objects through pool/PG and CRUSH placement to acting OSDs; monitors provide cluster maps and managers expose telemetry. HEALTH_OK is cluster-level summary, not evidence of one RBD/file/object workload. Recovery/backfill can preserve availability while changing latency and redundancy margin, and a healthy PG state does not show the client path or filesystem layer. Close with Correlate the affected pool/PG/OSDs and client session, inspect recovery/error/latency for the same interval, then repeat the original I/O and verify data read-back. and state what the evidence does not show.

ReferenceWhy it matters2 sections · depth on demand

When to use it

Use Ceph when the problem concerns block devices, pools, placement, filesystems, snapshots, backup/restore or performance.

Operational checks for Ceph — When to use it: Anchor stable filesystem/volume/LUN/share/device identities across host, path/fabric, controller/pool and media so retries or multipath do not hide the failed leg. Ceph maps client objects through pool/PG and CRUSH placement to acting OSDs; monitors provide cluster maps and managers expose telemetry. HEALTH_OK is cluster-level summary, not evidence of one RBD/file/object workload. Recovery/backfill can preserve availability while changing latency and redundancy margin, and a healthy PG state does not show the client path or filesystem layer. Close with Correlate the affected pool/PG/OSDs and client session, inspect recovery/error/latency for the same interval, then repeat the original I/O and verify data read-back. and state what the evidence does not show.

Quality lift: concrete internals

Ceph quality lift — inspect the concrete Ceph object placement and I/O path mechanics rather than treating existing coverage as completion. Ceph maps client objects through pool/PG and CRUSH placement to acting OSDs; monitors provide cluster maps and managers expose telemetry. HEALTH_OK is cluster-level summary, not evidence of one RBD/file/object workload. Recovery/backfill can preserve availability while changing latency and redundancy margin, and a healthy PG state does not show the client path or filesystem layer.

ReferenceHow it works1 section · depth on demand

How it works

The daemons.

DaemonRole
MON (monitor)Keeps the cluster maps — the authoritative record of which daemons exist and their state. An odd number (3 or 5) runs, and a majority must agree
MGR (manager)Statistics, the dashboard and management modules
OSDStores the data; normally one per disk. Also handles replication and recovery
MDSMetadata for the CephFS filesystem only
RGWThe S3-compatible object gateway

How data is placed. Everything is stored as objects in pools. Each pool is divided into *placement groups* (PGs); an object's name is hashed to a placement group, and the CRUSH algorithm maps each placement group to a set of OSDs on different hosts. Clients compute this themselves from the cluster map and talk directly to the right OSDs — there is no central lookup server in the data path.

Redundancy. A replicated pool has a size (number of copies, usually 3) and a min_size (copies that must be available for writes to be accepted, usually 2). Erasure-coded pools store data and parity chunks instead and use less space.

Three ways to use it. RBD — block devices for virtual machines; CephFS — a shared filesystem; RGW — object storage.

Self-healing. When an OSD fails, the placement groups it held are degraded. After a waiting period Ceph creates new copies on other OSDs (recovery and backfill), until every placement group is active+clean again.

Reading the state.

ceph -s
ceph health detail
ceph osd tree
ceph df

ceph -s shows the health (HEALTH_OK, HEALTH_WARN, HEALTH_ERR), the monitors in quorum, how many OSDs are up and in, and the placement group states. ceph health detail explains every warning.

Placement group stateMeaning
active+cleanNormal
degradedFewer copies than size; data still available
undersizedFewer OSDs assigned than size
recovering, backfillingCopies being rebuilt
peeringOSDs agreeing on the state; I/O waits
inactive, down, incompleteData unavailable — requests hang

Capacity. Ceph warns when an OSD is 85 % full (nearfull), stops backfill at 90 % and blocks writes at 95 % (full). Because the cluster must be able to re-create the data of a failed host on the remaining ones, usable capacity is well below the raw total; plan to stay under roughly 70–80 %.

ReferenceImportant terms & boundaries2 sections · depth on demand

Placement and what the checks show

A green summary shows only current checks are not reporting a warning, but it does not show every client path, object, replica, device, failure domain or backup is healthy.

Key operational limits

  • Preserve device identity, topology and redundancy before repair or removal
  • Capacity, integrity, availability and performance are separate health dimensions
  • Backup success is incomplete until an isolated restore shows recoverability and timing
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCeph storage current

Authoritative/upstream documentation reviewed for bounded claims in Ceph. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.ceph.com/en/latest/ · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
cephdistributed storage cephstorage cephceph clusterCeph troubleshooting
Embedded reference data

Quick lookup tables

Ceph Ceph map

Fast control-plane, placement, data-path and proof boundaries for Ceph.

Ceph boundaryWhat to verifyProof limit
Control / placementMON/map/auth, pool, PG and CRUSH context for the exact workloadCluster visibility or one healthy daemon does not prove the data path
Data / redundancyActing OSD set, device/network state, capacity and replica/EC availabilityUp/in or active state alone does not prove clean redundancy or integrity
Failure boundaryA green summary proves only current checks are not reporting a warning; it does not prove every client path, object, replica, device, failure domain or backup is healthy.Correlate Ceph, host, device and network evidence in the same time window
AcceptanceHealthy evidence: monitors have quorum, expected daemons are present, PGs are available with intended redundancy, capacity is below risk thresholds and a representative client read/write/read-back succeeds.Close only after original client operation plus redundancy/read-back verification

Ceph evidence chain

Configuration, operational state, counters and downstream proof remain separate.

BoundaryQuestionEvidenceDoes not prove
DefinitionWhat is configured or intended?running configuration / controller policylive operation
Local stateIs the feature active at the expected scope?ceph -sremote success
CountersDid controlled traffic or an event reach this stage?scoped counters/timestampscomplete return path
Next boundaryWhat consumes or transports this state?physical device/failure domain → pool/volume/placement → filesystem/dataset → consumer I/O → backup/replica → tested restoreapplication success
Confirmation

Confirm action

Continue?