From: Zac Dover Date: Fri, 6 Sep 2024 12:43:59 +0000 (+1000) Subject: doc/rados: add "pgs not deep scrubbed in time" info X-Git-Tag: v19.2.1~228^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=da7e33323cb4a254ca6f2debcb0ef2b53b5dc949;p=ceph.git doc/rados: add "pgs not deep scrubbed in time" info Add a procedure to doc/rados/operations/health-warnings.rst that explains how to remedy the "X PGs not deep-scrubbed in time" health warning. This procedure was developed by Eugen Block, and is at the time of this commit available on his blog at https://heiterbiswolkig.blogs.nde.ag/2024/09/06/pgs-not-deep-scrubbed-in-time/ Co-authored-by: Eugen Block Signed-off-by: Zac Dover (cherry picked from commit d620a51c306d1ebcdfc974dc0b85dc46cfde8d40) --- diff --git a/doc/rados/operations/health-checks.rst b/doc/rados/operations/health-checks.rst index 64455e927138d..e6f56f9200554 100644 --- a/doc/rados/operations/health-checks.rst +++ b/doc/rados/operations/health-checks.rst @@ -1513,6 +1513,32 @@ To manually initiate a deep scrub of a clean PG, run the following command: ceph pg deep-scrub +Under certain conditions, the warning ``X PGs not deep-scrubbed in time`` +appears. This might be because the cluster contains many large PGs, which take +longer to deep-scrub. To remedy this situation, you must change the value of +``osd_deep_scrub_interval`` either globally or for the Manager daemon. + +#. Confirm that ``ceph health detail`` returns a ``pgs not deep-scrubbed in + time`` warning:: + + # ceph health detail + HEALTH_WARN 1161 pgs not deep-scrubbed in time + [WRN] PG_NOT_DEEP_SCRUBBED: 1161 pgs not deep-scrubbed in time + pg 86.fff not deep-scrubbed since 2024-08-21T02:35:25.733187+0000 + +#. Change ``osd_deep_scrub_interval`` globally: + + .. prompt:: bash # + + ceph config set global osd_deep_scrub_interval 1209600 + +The above procedure was developed by Eugen Block in September of 2024. + +See `Eugen Block's blog post `_ for much more detail. + +See `Redmine tracker issue #44959 `_. + + PG_SLOW_SNAP_TRIMMING _____________________