O'Reilly logo

Ceph Cookbook - Second Edition by Karan Singh, Michael Hackett, Vikhyat Umrao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

OSD scrubbing settings

OSD scrubbing is important for maintaining data integrity, but it can reduce performance. You can adjust the following settings to increase or decrease scrubbing operations:

  • osd_max_scrubs: The maximum number of simultaneous scrub operations for a Ceph OSD daemon:
        osd_max_scrubs = 1
  • osd_scrub_sleep: The time in seconds that scrubbing sleeps between two consecutive scrubs:
        osd_scrub_sleep = .1
  • osd_scrub_chunk_min: The minimum number of data chunks an OSD should perform scrubbing on:
        osd_scrub_chunk_min = 1
  • osd_scrub_chunk_max: The maximum number of data chunks an OSD should perform scrubbing on:
        osd_scrub-chunk_max = 5
  • osd_deep_scrub_stride: The read size in bytes while doing a deep scrub:
        osd_deep_scrub_stride ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required