The minimum value for osd_deep_scrub_interval is osd_scrub_min_interval, and it wouldn't be advisable to go that low.
I can't find the documentation, but basically Ceph will attempt a scrub sometime between osd_scrub_min_interval and osd_scrub_max_interval. If the PG hasn't been deep-scrubbed in the last osd_deep_scrub_interval seconds, it does a deep-scrub instead.
So if you set osd_deep_scrub_interval to osd_scrub_min_interval, you'll never scrub your PGs, you'll only deep-scrub.
Obviously, you can lower the two scrub intervals too. As Loïc says, test it well. I find when I'm playing with these values, I use injectargs to find a good value, then persist that value in the ceph.conf.
On Fri, Nov 14, 2014 at 3:16 AM, Loic Dachary <loic@xxxxxxxxxxx> wrote:
Hi,
On 14/11/2014 12:11, Mallikarjun Biradar wrote:
> Hi,
>
> Default deep scrub interval is once per week, which we can set using osd_deep_scrub_interval parameter.
>
> Whether can we reduce it to less than a week or minimum interval is one week?
You can reduce it to a shorter period. It is worth testing the impact on disk IO before going to production with shorter intervals though.
Cheers
>
> -Thanks & regards,
> Mallikarjun Biradar
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
--
Loïc Dachary, Artisan Logiciel Libre
_______________________________________________
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