cbt icon indicating copy to clipboard operation
cbt copied to clipboard

Trigger deep scrubs

Open mmgaggle opened this issue 9 years ago • 1 comments

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

mmgaggle avatar Jul 20 '15 22:07 mmgaggle

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

mmgaggle avatar Jul 21 '15 16:07 mmgaggle