Re: About scrub and deep-scrub

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

 



Hi,

On 10/7/24 09:27, Phong Tran Thanh wrote:
> How about the disable scrub and deep-scrub

neither scrubbing nor deep-scrubbing should be disabled, it is an
integral part of ensuring data consistency and data availability.

if you disable it, ceph will not know when/if data on the disks/ssds has
silently been corrupted due to e.g. media faults/degradation and
therefore will not be able to fix it for you. if you don't notice it in
time and manually correct it, you will loose your data.

> i want to disable it because of
> its effect on many I/O of my cluster.

on small clusters, this can be indeed an issue. I'd recommend to adjust
the settings for how much scrubbing is done in parallel (prefered) as
well as how often (last resort).

have a look at the documentation here:
https://docs.ceph.com/en/latest/rados/configuration/osd-config-ref/#scrubbing

> If enabled, scrubbing is not complete and takes a long time.

depending on the hardware/disk sizes, scrubbing can indeed take quite
some time. but that is normal and not something to worry about.

Regards,
Daniel
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[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