Re: Scheduling deep-scrub operations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/unset the flags per pool to
avoid this.

Don't disable the deep-srubs, but set the interval for deep scrubbing to INT_MAX. (or a month if you'd like to play it a bit safer)
And then start scrubbing thru cron.

But as Wido usually says:
    "if you can't bear the scrub load, then your cluster is undersized."

And I tend to agree, because the punishment on the cluster in case of serious remapping can be way much higher.

--WjW

On Fri, Dec 14, 2018 at 1:25 PM Caspar Smit <casparsmit@xxxxxxxxxxx> wrote:

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 that doesn't allow for preventing deep-scrubs in the weekend.

Kind regards,
Caspar
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux