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

The following settings allow the Ceph OSD daemon to determine the filesystem type, mount options, as well as some other useful settings:

  • osd_mkfs_options_xfs: At the time of OSD creation, Ceph will use these xfs options to create the OSD filesystem:
        osd_mkfs_options_xfs = "-f -i size=2048
  • osd_mount_options_xfs: It supplies the xfs filesystem mount options to OSD. When Ceph is mounting an OSD, it will use the following options for OSD filesystem mounting:
        osd_mount_options_xfs = "rw,noatime,largeio,        inode64,swalloc,logbufs=8,logbsize=256k,delaylog,allocsize=4M"
  • osd_max_write_size: The maximum size in MB an OSD can write at a time:
        osd_max_write_size = 256
  • osd_client_message_size_cap: The largest client data message ...

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