Re: Manual deep scrub

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

 



All OSDs with a copy of the PG need to not be involved in any scrub for the scrub to start immediately.  It is not just the primary OSD but all secondary OSDs as well for a scrub to be able to run on a PG.


David Turner | Cloud Operations Engineer | StorageCraft Technology Corporation
380 Data Drive Suite 300 | Draper | Utah | 84020
Office: 801.871.2760 | Mobile: 385.224.2943


If you are not the intended recipient of this message or received it erroneously, please notify the sender and delete it, together with any attachments, and be advised that any dissemination or copying of this message is prohibited.



From: ceph-users [ceph-users-bounces@xxxxxxxxxxxxxx] on behalf of Richard Arends [cephmailinglist@xxxxxxxxx]
Sent: Tuesday, January 17, 2017 8:27 AM
To: ceph-users@xxxxxxxxxxxxxx
Subject: Re: [ceph-users] Manual deep scrub

On 01/17/2017 04:09 PM, David Turner wrote:

Hi,

You want to look into the settings osd_max_scrubs which indicates how many different scrub operations an OSD can be involved in at once

That's still the default, thus 1. A pg that i wanted to deep-scrub this afternoon, should be done by an OSD that was not doing another deep-scrub. Also that OSD was not busy with anything else. So to my knowledge, the deep-scrub should start.

(the well chosen default is 1), as well as osd_scrub_max_interval and osd_deep_scrub_interval.  One of the differences in your cluster from before to now is time.

It might be that you're PGs are running into their max interval and forcing to scrub now which is interfering with your script.  We also manage our deep scrubs with a cron and have set our osd_deep_scrub_scrub interval to longer than it will take our cron to go through all of the PGs so that they will never automatically deep scrub themselves.

We are doing the same in our cluster, i also set the the osd_deep_scrub_interval to a high value. The normal scrub intervals (osd_scrub_min_interval and osd_scrub_max_interval) are set to the defaults (1 day and 1 week).


-- 
Regards,

Richard.

_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux