Skip to contentSkip to conversation

ceph.conf sanity checks

DISCUSSION Thomas Mueller 2 participants 2 messages Jun 17, 2010

lore
Share & tools
lore
#0 lore raw

hi

doing some testing I've made some mistakes and configured the same device for "btrfs devs" and "osd journal".

I then ran happily "mkcephfs -c /etc/ceph/ceph.conf --mkbtrfs", started ceph, mounted it and wrote to it, umounted and stopped ceph.

no errors thrown.

Either ceph does some magic when the journal is on the same device as the osd btrfs or it should already stop on parsing the conf if a device is configured twice. :)

- Thomas

#1 lore raw
Quoted 8 lines · Thomas Mueller

doing some testing I've made some mistakes and configured the same device for "btrfs devs" and "osd journal".

I then ran happily "mkcephfs -c /etc/ceph/ceph.conf --mkbtrfs", started ceph, mounted it and wrote to it, umounted and stopped ceph.

no errors thrown.

mkcephfs now errors out of the osd journal device is part of btrfs devs.

thanks-
sage