目次

35 pgs not deep-scrubbed in time

Warningの仕組み

デフォル設定だと、5日と6時間deep_scrubされてないとWARNINGが出ます。

下記の計算式です。

osd_deep_scrub_interval (604800.000000) * mon_warn_pg_not_deep_scrubbed_ratio (0.750000)

"mon_warn_pg_not_deep_scrubbed_ratio": "0.750000"
604800 * 0.75 / 60 / 60 / 24 = 5.25

現在の値確認

# ceph config get mgr mon_warn_pg_not_deep_scrubbed_ratio
0.750000

対応

mon_warn_pg_not_deep_scrubbed_ratioを変更してあげる。

ceph config set mgr mon_warn_pg_not_deep_scrubbed_ratio 1.0

これだと7日を超えるとWarningが出る設定

604800 * 1 / 60 / 60 / 24 = 7