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 journal settings

Ceph OSD daemons support the following journal configurations:

  • osd journal size: Ceph's default OSD journal size value is zero; you should use the osd_journal_size parameter to set the journal size. The journal size should be at least twice the product of the expected drive speed and filestore max sync interval. If you are using SSD journals, it's usually good to create journals larger than 10 GB and increase the filestore minimum/maximum sync intervals:
        osd_journal_size = 20480
  • journal_max_write_bytes: The maximum number of bytes the journal can write at once:

        journal_max_write_bytes = 1073714824
  • journal_max_write_entries: The maximum number of entries the journal can write at once:
 journal_max_write_entries ...

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