On Wed, 2 Apr 2014, Craig Lewis wrote:
> Is there any way to cancel a scrub on a PG?
>
>
> I have an OSD that's recovering, and there's a single PG left waiting:
> 2014-04-02 13:15:39.868994 mon.0 [INF] pgmap v5322756: 2592 pgs: 2589
> active+clean, 1 active+recovery_wait, 2 active+clean+scrubbing+deep; 15066 GB
> data, 30527 GB used, 29061 GB / 59588 GB avail; 1/36666878 objects degraded
> (0.000%)
>
> The PG that is in recovery_wait is on the same OSD that is being deep
> scrubbed. I don't have journals on SSD, so recovery and scrubbing are heavily
> throttled. I want to cancel the scrub so the recovery can complete. I'll
> manually restart the deep scrub when it's done.
>
> Normally I'd just wait, but this OSD is flapping. It keeps getting kicked out
> of the cluster for being unresponsive. I'm hoping that if I cancel the scrub,
> it will allow the recovery to complete and the OSD will stop flapping.
You can 'ceph osd set noscrub' to prevent a new scrub from starting.
Next time it flaps the scrub won't restart. The only want to cancel an
inprogress scrub is to force a peering event, usually by manually marking
the osd down (ceph osd down N).
sage
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com