[ceph-users] Re: deep scrub and long backfilling

2023-03-04 Thread Janne Johansson
Den lör 4 mars 2023 kl 08:08 skrev :
> ceph 16.2.11,
> is safe to enable scrub and deep scrub during backfilling ?
> I have log recovery-backfilling due to a new crushmap , backfilling is going 
> slow and deep scrub interval as expired so I have many pgs  not deep-scrubbed 
> in time.

It is safe to have it enabled, scrubs will skip the PGs currently
being backfilled.
It will put some extra load on the cluster, but for most clusters,
scrubs are always on by default.

-- 
May the most significant bit of your life be positive.
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Re: deep scrub and long backfilling

2023-03-05 Thread Wesley Dillingham
In general it is safe and during long running remapping and backfill
situations I enable it. You can enable it with:

 "ceph config set osd osd_scrub_during_recovery true"

If you have any problems you think are caused by the change, undo it:

Stop scrubs asap:
"ceph osd set nodeep-scrub"
"ceph osd set noscrub"

reinstate the previous value:
 "ceph config set osd osd_scrub_during_recovery false"

Once things stabilize unset the no scrub flags to resume normal scrub
operations:

"ceph osd unset nodeep-scrub"
"ceph osd unset noscrub"



Respectfully,

*Wes Dillingham*
w...@wesdillingham.com
LinkedIn 


On Sat, Mar 4, 2023 at 3:07 AM Janne Johansson  wrote:

> Den lör 4 mars 2023 kl 08:08 skrev :
> > ceph 16.2.11,
> > is safe to enable scrub and deep scrub during backfilling ?
> > I have log recovery-backfilling due to a new crushmap , backfilling is
> going slow and deep scrub interval as expired so I have many pgs  not
> deep-scrubbed in time.
>
> It is safe to have it enabled, scrubs will skip the PGs currently
> being backfilled.
> It will put some extra load on the cluster, but for most clusters,
> scrubs are always on by default.
>
> --
> May the most significant bit of your life be positive.
> ___
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
>
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Re: deep scrub and long backfilling

2023-03-05 Thread Alessandro Bolgia
Yes thanks
I used those commands.
Will see how is going.
Best regards

Il Dom 5 Mar 2023, 19:34 Wesley Dillingham  ha
scritto:

> In general it is safe and during long running remapping and backfill
> situations I enable it. You can enable it with:
>
>  "ceph config set osd osd_scrub_during_recovery true"
>
> If you have any problems you think are caused by the change, undo it:
>
> Stop scrubs asap:
> "ceph osd set nodeep-scrub"
> "ceph osd set noscrub"
>
> reinstate the previous value:
>  "ceph config set osd osd_scrub_during_recovery false"
>
> Once things stabilize unset the no scrub flags to resume normal scrub
> operations:
>
> "ceph osd unset nodeep-scrub"
> "ceph osd unset noscrub"
>
>
>
> Respectfully,
>
> *Wes Dillingham*
> w...@wesdillingham.com
> LinkedIn 
>
>
> On Sat, Mar 4, 2023 at 3:07 AM Janne Johansson 
> wrote:
>
>> Den lör 4 mars 2023 kl 08:08 skrev :
>> > ceph 16.2.11,
>> > is safe to enable scrub and deep scrub during backfilling ?
>> > I have log recovery-backfilling due to a new crushmap , backfilling is
>> going slow and deep scrub interval as expired so I have many pgs  not
>> deep-scrubbed in time.
>>
>> It is safe to have it enabled, scrubs will skip the PGs currently
>> being backfilled.
>> It will put some extra load on the cluster, but for most clusters,
>> scrubs are always on by default.
>>
>> --
>> May the most significant bit of your life be positive.
>> ___
>> ceph-users mailing list -- ceph-users@ceph.io
>> To unsubscribe send an email to ceph-users-le...@ceph.io
>>
>
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io