Skip to content

Instantly share code, notes, and snippets.

@dvanders
Created January 22, 2018 19:05
Show Gist options
  • Save dvanders/7eca771b6a8d1164bae8ea1fe45cf9f2 to your computer and use it in GitHub Desktop.
Save dvanders/7eca771b6a8d1164bae8ea1fe45cf9f2 to your computer and use it in GitHub Desktop.
ceph.conf
[global]
auth cluster required = cephx
auth service required = cephx
auth client required = cephx
fsid = xxx
debug filestore = 1
debug mon = 1
debug osd = 1
mon compact on start = true
mon osd down out interval = 900
mon pg warn max object skew = 20
rgw dynamic resharding = false
[mon]
mon data = /var/lib/ceph/mon/ceph-$id
mon leveldb log = /var/log/ceph/ceph-mon.$id.leveldb.log
mon osd down out subtree limit = host
mon pg warn min per osd = 0
[osd]
osd journal size = 2048
osd mkfs type = xfs
osd mount options xfs = rw, noatime, inode64, logbufs=8, logbsize=256k
filestore fd cache size = 2048
filestore max sync interval = 60
filestore op threads = 8
filestore queue max ops = 100
osd backfill scan max = 16
osd backfill scan min = 4
osd crush update on start = true
osd op thread suicide timeout = 1800
osd op threads = 12
osd scrub during recovery = false
osd scrub load threshold = 5.0
osd scrub sleep = 0.1
osd snap trim sleep = 0.1
[mds]
mds data = /var/lib/ceph/mds/ceph-$id
keyring = /var/lib/ceph/mds/ceph-$id/keyring
debug mds = 2
mds log max expiring = 40
mds log max segments = 60
mds standby replay = true
mds tick interval = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment