1 ========================
3 ========================
5 When checking a cluster's status (e.g., running ``ceph -w`` or ``ceph -s``),
6 Ceph will report on the status of the placement groups. A placement group has
7 one or more states. The optimum state for placement groups in the placement group
8 map is ``active + clean``.
11 Ceph is still creating the placement group.
14 Ceph will process requests to the placement group.
17 Ceph replicated all objects in the placement group the correct number of times.
20 A replica with necessary data is down, so the placement group is offline.
23 Ceph is checking the placement group for inconsistencies.
26 Ceph has not replicated some objects in the placement group the correct number of times yet.
29 Ceph detects inconsistencies in the one or more replicas of an object in the placement group
30 (e.g. objects are the wrong size, objects are missing from one replica *after* recovery finished, etc.).
33 The placement group is undergoing the peering process
36 Ceph is checking the placement group and repairing any inconsistencies it finds (if possible).
39 Ceph is migrating/synchronizing objects and their replicas.
42 High recovery priority of that PG is enforced by user.
45 Ceph is scanning and synchronizing the entire contents of a placement group
46 instead of inferring what contents need to be synchronized from the logs of
47 recent operations. *Backfill* is a special case of recovery.
50 High backfill priority of that PG is enforced by user.
53 The placement group is waiting in line to start backfill.
56 A backfill operation is waiting because the destination OSD is over its
60 Ceph detects that a placement group is missing information about
61 writes that may have occurred, or does not have any healthy
62 copies. If you see this state, try to start any failed OSDs that may
63 contain the needed information. In the case of an erasure coded pool
64 temporarily reducing min_size may allow recovery.
67 The placement group is in an unknown state - the monitors have not received
68 an update for it since the placement group mapping changed.
71 The placement group is temporarily mapped to a different set of OSDs from what
75 The placement group fewer copies than the configured pool replication level.
78 The placement group has peered, but cannot serve client IO due to not having
79 enough copies to reach the pool's configured min_size parameter. Recovery
80 may occur in this state, so the pg may heal up to min_size eventually.