deep scrub and long backfilling
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. Best regards Alessandro
Den lör 4 mars 2023 kl 08:08 skrev <xadhoom76@gmail.com>:
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.
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* wes@wesdillingham.com LinkedIn <http://www.linkedin.com/in/wesleydillingham> On Sat, Mar 4, 2023 at 3:07 AM Janne Johansson <icepic.dz@gmail.com> wrote:
Den lör 4 mars 2023 kl 08:08 skrev <xadhoom76@gmail.com>:
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-leave@ceph.io
Yes thanks I used those commands. Will see how is going. Best regards Il Dom 5 Mar 2023, 19:34 Wesley Dillingham <wes@wesdillingham.com> 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* wes@wesdillingham.com LinkedIn <http://www.linkedin.com/in/wesleydillingham>
On Sat, Mar 4, 2023 at 3:07 AM Janne Johansson <icepic.dz@gmail.com> wrote:
Den lör 4 mars 2023 kl 08:08 skrev <xadhoom76@gmail.com>:
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-leave@ceph.io
participants (4)
-
Alessandro Bolgia
-
Janne Johansson
-
Wesley Dillingham
-
xadhoom76@gmail.com