Re: [ceph-users] Scheduling deep-scrub operations

2018-12-14 Thread Paul Emmerich
Have you tried adjusting osd_scrub_sleep? This together with increasing the time for deep scrubs is usually the solution for performance problems during scrubbing. (Only increase time between scrubs if using Bluestore) Paul -- Paul Emmerich Looking for help with your Ceph cluster? Contact us at

Re: [ceph-users] Scheduling deep-scrub operations

2018-12-14 Thread Caspar Smit
Thanks Dan! This seems to be added by the following commit: https://github.com/ceph/ceph/commit/87be7c70a17492c9e5f06e01722690acec7a2c51 It contains a brief instruction on how to use it. PS. I agree with the other comments that the cluster needs to be able to handle deep-scrub during normal ope

Re: [ceph-users] Scheduling deep-scrub operations

2018-12-14 Thread Willem Jan Withagen
On 14/12/2018 13:42, Alexandru Cucu wrote: Hi, Unfortunately there is no way of doing this from the Ceph configuration but you could create some cron jobs to add and remove the nodeep-scrub flag. The only problem would be that your cluster status will show HEALTH_WARN but i think you could set/u

Re: [ceph-users] Scheduling deep-scrub operations

2018-12-14 Thread Dan van der Ster
Luminous has: osd_scrub_begin_week_day osd_scrub_end_week_day Maybe these aren't documented. I usually check here for available option: https://github.com/ceph/ceph/blob/luminous/src/common/options.cc#L2533 -- Dan On Fri, Dec 14, 2018 at 12:25 PM Caspar Smit wrote: > > Hi all, > > We have op

Re: [ceph-users] Scheduling deep-scrub operations

2018-12-14 Thread Alexandru Cucu
Hi, Unfortunately there is no way of doing this from the Ceph configuration but you could create some cron jobs to add and remove the nodeep-scrub flag. The only problem would be that your cluster status will show HEALTH_WARN but i think you could set/unset the flags per pool to avoid this. On Fr

Re: [ceph-users] Scheduling deep-scrub operations

2018-12-14 Thread Janne Johansson
Den fre 14 dec. 2018 kl 12:25 skrev Caspar Smit : > 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'v

[ceph-users] Scheduling deep-scrub operations

2018-12-14 Thread Caspar Smit
Hi all, 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 th