PG states – the good, the bad, and the ugly
Each placement group in Ceph has one or more statuses assigned to it; normally you want to see all your PGs with active+clean
against them. Understanding what each state means can help us identify what is happening to PG and whether you need to take action.
The good
The following states are indication of a healthy operating cluster, no action needs to be taken.
The active state
The active
state means that PG is in full health, and it is capable of accepting client requests.
The clean state
The clean
state means that PG's objects are replicated the correct number of times and are all in a consistent state.
Scrubbing and deep scrubbing
Scrubbing means that Ceph checks the consistency of your data and is a normal background process. Scrubbing on its own is where Ceph checks that the objects and relevant metadata exists. When Ceph peforms a deep scrub, it compares the contents of the objects and their replicas for consistency.
The bad
The following states indicate...