Repairing Inconsistent Placement Groups
Problem
Ceph is warning about inconsistent
PGs.
Solution
Users are advised to refer to the upstream documentation Repairing Inconsistent PGs.
If users notice that deep-scrub
is discovering inconsistent objects with a regular frequency, and if those errors coincide with SCSI Medium Errors on the underlying drives, it is recommended to switch on automatic repair of damaged objects detected during scrub:
# ceph config set osd osd_scrub_auto_repair true