Linux

Where Does Ceph Store Config and Data?

Ceph reads ceph.conf in /etc/ceph with monitors in /var/lib/ceph and OSD data on dedicated devices.

Last updated

Ceph separates a small config file from large data stores. The ceph.conf file in /etc/ceph names monitors, networks, and keyrings for the cluster. Monitor data lands in /var/lib/ceph while OSDs consume whole devices.

Keyrings beside the config authenticate every daemon. Losing monitor data loses the cluster map, so back it up with the config. OSD contents rebuild through replication when single devices fail.

Where Ceph stores this, by platform

Linux
/etc/ceph/ceph.conf

Monitor addresses plus networks and keyring paths live here. Monitor data sits in /var/lib/ceph. OSDs use dedicated devices, not files.

Frequently asked questions

How do I back up Ceph config?

Copy /etc/ceph with keyrings plus a monitor data snapshot. OSD contents replicate rather than back up. Keep crush maps with the config.

Where is Ceph object data?

Spread across OSD devices by placement groups, not in files to copy. Monitor data maps the layout. Recover through replication, not file restores.

Notice an outdated path? Let us know.