Pcornel
Virtualization · Proxmox VE › Ceph

PG

Cheat sheet · https://pcornel.dk/topic.php?topic=3757

Back to the Topic

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 summary
  • ceph pg dump_stuck — stuck PGs
  • ceph osd pool autoscale-status — PG autoscaler

Commands

ceph pg repair
ceph health detail
ceph 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

BoundaryWhat to verifyEvidence limit
Configured stateExpected PG configuration is presentConfiguration alone does not prove runtime behavior
Runtime stateRelevant PG service/object is active and error-freeRuntime state does not prove dependencies
DependencyBacking network, storage, cluster or host dependency is healthyLocal success does not prove end-to-end outcome
AcceptanceOriginal VM/container/workload test succeedsRequired 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

Confirmation

Confirm action

Continue?