summaryrefslogtreecommitdiff
path: root/src/sample.ceph.conf
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-05-09 11:25:27 -0700
committerSage Weil <sage@newdream.net>2009-05-09 11:26:40 -0700
commit0fca6d31ff650cc8b9390ab0d54053ee6020cbf5 (patch)
tree45f51d7650f473a8f37a519d7ad72447e0d8dfec /src/sample.ceph.conf
parentf67390848eb2476b8812c4aaa6c996ccf6df34b7 (diff)
downloadceph-0fca6d31ff650cc8b9390ab0d54053ee6020cbf5.tar.gz
conf: improved sample
Diffstat (limited to 'src/sample.ceph.conf')
-rw-r--r--src/sample.ceph.conf27
1 files changed, 17 insertions, 10 deletions
diff --git a/src/sample.ceph.conf b/src/sample.ceph.conf
index cfa477c014f..bf8b2cd4f34 100644
--- a/src/sample.ceph.conf
+++ b/src/sample.ceph.conf
@@ -12,9 +12,11 @@
; global
[global]
- restart on core dump = true
pid file = /var/run/ceph/$name.pid
+ ; some minimal logging (just message traffic) to aid debugging
+ debug ms = 1
+
; monitor
[mon]
mon data = /data/mon$id
@@ -41,29 +43,34 @@
; osd
[osd]
sudo = true
+ osd data = /data/osd$id
[osd0]
host = alpha
- osd data = /dev/sdx
- osd journal = /dev/umema
+
+ ; if 'btrfs devs' is not specified, you're responsible for
+ ; setting up the 'osd data' dir. if it is not btrfs, things
+ ; will behave up until you try to recover from a crash (which
+ ; usually fine for basic testing).
+ btrfs devs = /dev/sdx
[osd1]
host = alpha
- osd data = /dev/sdy
- osd journal = /dev/umema
+ btrfs devs = /data/dev/sdy
[osd2]
host = beta
- osd data = /dev/sdx
- osd journal = /dev/umema
+ btrfs devs = /dev/sdx
[osd3]
host = beta
- osd data = /dev/sdy
- osd journal = /dev/umema
+ btrfs devs = /dev/sdy
+; access control
[group everyone]
- addr = 0.0.0.0/0
+ ; you probably want to limit this to a small or a list of
+ ; hosts. clients are fully trusted.
+ addr = 0.0.0.0/0
[mount /]
allow = %everyone