2 Scrub internals and diagnostics
3 ===============================
5 Scrubbing Behavior Table
6 ------------------------
8 +-------------------------------------------------+----------+-----------+---------------+----------------------+
9 | Flags | none | noscrub | nodeep_scrub | noscrub/nodeep_scrub |
10 +=================================================+==========+===========+===============+======================+
11 | Periodic tick | S | X | S | X |
12 +-------------------------------------------------+----------+-----------+---------------+----------------------+
13 | Periodic tick after osd_deep_scrub_interval | D | D | S | X |
14 +-------------------------------------------------+----------+-----------+---------------+----------------------+
15 | Initiated scrub | S | S | S | S |
16 +-------------------------------------------------+----------+-----------+---------------+----------------------+
17 | Initiated scrub after osd_deep_scrub_interval | D | D | S | S |
18 +-------------------------------------------------+----------+-----------+---------------+----------------------+
19 | Initiated deep scrub | D | D | D | D |
20 +-------------------------------------------------+----------+-----------+---------------+----------------------+
23 - S = Do regular scrub
29 - Periodic tick state is !must_scrub && !must_deep_scrub && !time_for_deep
30 - Periodic tick after osd_deep_scrub_interval state is !must_scrub && !must_deep_scrub && time_for_deep
31 - Initiated scrub state is must_scrub && !must_deep_scrub && !time_for_deep
32 - Initiated scrub after osd_deep_scrub_interval state is must scrub && !must_deep_scrub && time_for_deep
33 - Initiated deep scrub state is must_scrub && must_deep_scrub
38 An OSD daemon command dumps total local and remote reservations::
40 ceph daemon osd.<id> dump_scrub_reservations