Virtualization · Proxmox VE › Ceph
PG
Cheat sheet · https://pcornel.dk/topic.php?topic=3757
Answer
PG states provide powerful evidence but must be interpreted with pool redundancy, OSD state and recovery context; not every non-active+clean state means data loss.
Remember
- active+clean ≠ low latency.
- degraded ≠ data lost.
- undersized/peering/stale have different failure boundaries.
- Recovery/backfill itself can create workload latency.
First checks
ceph pg stat— PG states summaryceph pg dump_stuck— stuck PGsceph osd pool autoscale-status— PG autoscaler
Commands
ceph pg repairceph health detailceph pg dump_stuck
Verify in this order
object hash → PG → acting OSD set
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
Proxmox VE → Ceph → PG reference map
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Configured state | Expected PG configuration is present | Configuration alone does not prove runtime behavior |
| Runtime state | Relevant PG service/object is active and error-free | Runtime state does not prove dependencies |
| Dependency | Backing network, storage, cluster or host dependency is healthy | Local success does not prove end-to-end outcome |
| Acceptance | Original VM/container/workload test succeeds | Required to close the incident |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3757