Den fre 14 dec. 2018 kl 12:25 skrev Caspar Smit <caspars...@supernas.eu>:
> We have operating hours from 4 pm until 7 am each weekday and 24 hour days in 
> the weekend.
> I was wondering if it's possible to allow deep-scrubbing from 7 am until 15 
> pm only on weekdays and prevent any deep-scrubbing in the weekend.
> I've seen the osd scrub begin/end hour settings but that doesn't allow for 
> preventing deep-scrubs in the weekend.

It is somewhat simple to run scrubs manually.


At 4 PM, get a PG dump and sort based on last-scrubbed, then if time
is less than 6.50AM, scrub the longest-since-scrub PG, repeat.
With additions for weekend logic on top of that.

-- 
May the most significant bit of your life be positive.
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to