CephXIX · PG StatesPG States
active+degraded — serving with fewer copies than promised
What you'll learn
- Explain what degraded means and what still works
- Identify the causes of a degraded PG
- Judge urgency from the degradation level
- Recognise degradation that will not clear on its own
Prerequisites
None — start here.
Verified against Ceph Tentacle 20.2.x · Ceph Squid 19.2.x (supported previous) · cephadm matches the verified Ceph release · podman 4.x · csi-rbd and csi-cephfs current · RBD / CephFS / RGW current (matches Ceph release) · Linux kernel 5.15+ (5.10 minimum) · Ubuntu 24.04 LTS (Ceph host baseline) · Debian 12 (Bookworm) (Ceph host baseline) · Rocky Linux / RHEL / AlmaLinux 9.x (Ceph host baseline) · Proxmox VE 9.x (cross-course integration) · Kubernetes 1.31+ (cross-course integration) · 2026-08-18
Why this matters in production
Degraded is the most common non-clean state and the one most often misread as an emergency. It usually means the cluster is doing exactly what it should.
What it means
A PG is degraded when some objects have fewer than size copies.
Clients are served normally as long as at least min_size copies
exist.
ceph -s
# Degraded data redundancy: 43112/1284336 objects degraded (3.356%)
ceph pg dump_stuck degraded
ceph health detail | grep -i degraded
The percentage is objects, not PGs — a useful distinction, because a PG can be degraded for a small fraction of its objects.
What causes it
| Cause | Clears by |
|---|---|
| OSD down | OSD returning, or recovery after it is marked out |
| OSD out | recovery onto remaining OSDs |
| host failure | host returning or recovery |
| an OSD that missed writes while briefly unavailable | recovery from the PG log |
| insufficient failure domains | it does not — see below |
The first four are self-healing. The fifth is not.
Judging urgency
size 3, min_size 2
3 copies clean
2 copies degraded, serving, one failure from blocking writes
1 copy degraded, below min_size, writes blocked
0 copies unavailable
The urgency is not “degraded” but “how degraded”. A pool at two copies is serving with a margin; a pool at one copy is serving nothing and is one failure from data loss.
ceph pg dump | awk '$0 ~ /degraded/ {print $1, $10, $15}' | head
Living with it
Degraded is a normal transient state during:
- OSD restarts and host reboots,
- planned OSD removal,
- hardware replacement,
- any recovery.
The operational discipline is not to avoid it but to avoid
overlapping it — one degrading operation at a time, with
active+clean reached between.
The response
- Confirm the degraded object count is falling.
- Establish the cause: which OSD or host.
- Check whether any PG is below
min_size— that is the urgent subset. - Let recovery proceed; throttle if client impact demands, accepting the longer window.
- Do not start other elective work until
active+clean.
Quiz
Knowledge check · 4 questions
Q1. A cluster reports 3.4% of objects degraded and the number is falling steadily. What is the correct response?
Q2. Recovery can be completely blocked while every OSD in the cluster is up and reporting healthy.
Q3. Degraded objects have been static at 1.2% for four hours after a disk replacement. Diagnose.
A failed OSD was replaced two days ago and backfill completed. Four hours ago the degraded count stopped at 1.2% and has not moved. Cluster health shows PG_DEGRADED. All OSDs are up and in. Pool size 3, min_size 2, failure domain host, cluster has exactly three hosts. One host was drained yesterday for a memory upgrade and its OSDs are still marked out.
Q4. Distinguish degraded from undersized and explain what each points at diagnostically.
Passing score: 75%. Answers are checked in this browser.
Production discipline
Read a falling degraded count as the cluster working and a static one
as recovery blocked — the distinction is the single most useful check
and it takes thirty seconds. Confirm whether any PG has dropped below
min_size, since that is the urgent subset regardless of the overall
percentage. And avoid overlapping degrading operations: reach
active+clean between OSD removals, weight changes, and maintenance,
because a cluster already short of failure domains cannot recover from
the second one.
Cross-course references
- Ceph: Part XIX lesson on undersized for the placement half.
- Ceph: Part LVIII (Recovery) for what recovery is doing.
- Ceph: Part XCVI (Node Maintenance) for planning drains.