Skip to content

Instantly share code, notes, and snippets.

Created April 3, 2013 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5299992 to your computer and use it in GitHub Desktop.
Save anonymous/5299992 to your computer and use it in GitHub Desktop.
basic ceph.conf works fine with 0.41-1ubuntu2.1 but not with 0.56.4-0ubuntu1~cloud0 I am running the following command in both cases: $ sudo mkcephfs -a -c /etc/ceph/ceph.conf -k /etc/ceph/keyring and with 0.56.4 I get: temp dir is /tmp/mkcephfs.EWjNcBubOg preparing monmap in /tmp/mkcephfs.EWjNcBubOg/monmap /sbin/mkcephfs: monitor mon.a has no a…
[global]
keyring = /etc/ceph/keyring
# v0.54 and earlier
auth supported = cephx
# v0.55 and after
auth cluster required = cephx
auth service required = cephx
auth client required = cephx
debug default = 20
[osd]
keyring = /etc/ceph/keyring.$name
# The following assumes ext4 filesystem.
filestore xattr use omap = true
osd data = /var/lib/ceph/osd/ceph-$id
osd journal = /var/lib/ceph/osd/ceph-$id/journal
# osd journal size = {2 * (expected throughput * filestore max sync interval)}
osd journal size = 512
osd class dir = /usr/lib/rados-classes
# working with ext4
#filestore xattr use omap = true
# solve rbd data corruption
filestore fiemap = false
osd mkfs type = ext4
#osd mkfs options {fs-type} = {mkfs options} # default for xfs is "-f"
#osd mount options {fs-type} = {mount options} # default mount option is "rw, noatime"
#cluster network = <priv-net>/cidr
#public network = <pub-net>/cidr
[osd.0]
host = precise-openstack-base
devs = /dev/ceph-volumes/ceph-vol-$id
#cluster addr = <priv-net-ip>
#public addr = <pub-net-ip>:port
[osd.1]
host = precise-openstack-base
devs = /dev/ceph-volumes/ceph-vol-$id
#cluster addr = <priv-net-ip>
#public addr = <pub-net-ip>:port
[osd.2]
host = precise-openstack-base
devs = /dev/ceph-volumes/ceph-vol-$id
#cluster addr = <priv-net-ip>
#public addr = <pub-net-ip>:port
[mon]
mon data = /var/lib/ceph/mon/ceph-$id
[mon.a]
host = precise-openstack-base
mon addr = 192.168.1.123:6789
[client]
log file = /var/log/ceph/client.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment