# ceph --admin-daemon /var/run/ceph/ceph-osd.0.asok config show |grep scrub
"mon_warn_not_scrubbed": "0",
"mon_warn_not_deep_scrubbed": "0",
"mon_scrub_interval": "86400",
"mon_scrub_timeout": "300",
"mon_scrub_max_keys": "100",
"mon_scrub_inject_crc_mismatch": "0",
"mon_scrub_inject_missing_keys": "0",
"mds_max_scrub_ops_in_progress": "5",
"osd_scrub_invalid_stats": "true",
"osd_max_scrubs": "2",
"osd_scrub_begin_hour": "0",
"osd_scrub_end_hour": "24",
"osd_scrub_load_threshold": "0.5",
"osd_scrub_min_interval": "86400",
"osd_scrub_max_interval": "604800",
"osd_scrub_interval_randomize_ratio": "0.5",
"osd_scrub_chunk_min": "5",
"osd_scrub_chunk_max": "25",
"osd_scrub_sleep": "0",
"osd_scrub_auto_repair": "false",
"osd_scrub_auto_repair_num_errors": "5",
"osd_deep_scrub_interval": "604800",
"osd_deep_scrub_randomize_ratio": "0.15",
"osd_deep_scrub_stride": "524288",
"osd_deep_scrub_update_digest_min_age": "7200",
"osd_debug_scrub_chance_rewrite_digest": "0",
"osd_scrub_priority": "5",
"osd_scrub_cost": "52428800",
config
osd_scrub_begin_hour = 3
osd_scrub_end_hour = 7
osd_deep_scrub_interval = 1209600 (2week)
# ceph tell osd.* injectargs '--osd_crub_begin_hour 3'
# ceph tell osd.* injectargs '--osd_scrub_end_hour 7'
# ceph tell osd.* injectargs '--osd_deep_scrub_interval 1209600'
# ceph --admin-daemon /var/run/ceph/ceph-osd.0.asok config show |grep scrub
"mon_warn_not_scrubbed": "0",
"mon_warn_not_deep_scrubbed": "0",
"mon_scrub_interval": "86400",
"mon_scrub_timeout": "300",
"mon_scrub_max_keys": "100",
"mon_scrub_inject_crc_mismatch": "0",
"mon_scrub_inject_missing_keys": "0",
"mds_max_scrub_ops_in_progress": "5",
"osd_scrub_invalid_stats": "true",
"osd_max_scrubs": "2",
"osd_scrub_begin_hour": "3",
"osd_scrub_end_hour": "7",
"osd_scrub_load_threshold": "0.5",
"osd_scrub_min_interval": "86400",
"osd_scrub_max_interval": "604800",
"osd_scrub_interval_randomize_ratio": "0.5",
"osd_scrub_chunk_min": "5",
"osd_scrub_chunk_max": "25",
"osd_scrub_sleep": "0",
"osd_scrub_auto_repair": "false",
"osd_scrub_auto_repair_num_errors": "5",
"osd_deep_scrub_interval": "1.2096e+06",
"osd_deep_scrub_randomize_ratio": "0.15",
"osd_deep_scrub_stride": "524288",
"osd_deep_scrub_update_digest_min_age": "7200",
"osd_debug_scrub_chance_rewrite_digest": "0",
"osd_scrub_priority": "5",
"osd_scrub_cost": "52428800",