cbt
cbt copied to clipboard
Trigger deep scrubs
Ability to trigger deep scrubs to test the impact of deep scrubbing. In hammer there is supposed to be a ceph.conf tunable that allows specifying a time. If that value can be injected, then we can probably do something along the lines of:
current_time = time schedule_time = current_time + ramp_time
ceph tell * injectargs --some_scrubbing_schedule_key $schedule_time
They don't allow scheduling at a specific time, they allow specifying a window in which scrubs can take place. I'm not sure these will work for us..
osd_scrub_begin_hour, default 0 osd_scrub_end_hour, default 24