summaryrefslogtreecommitdiff
path: root/src/sample.ceph.conf
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-05-26 21:47:35 -0700
committerSage Weil <sage@newdream.net>2010-05-26 21:47:35 -0700
commita3dc4bdac2057c2d0fcd27cab9c416c5089b4c76 (patch)
tree783aff7301a89c5609fc3508fd394134493e45f9 /src/sample.ceph.conf
parent05256bb030176d7d96785a00c3b8f46a9fe594a5 (diff)
downloadceph-a3dc4bdac2057c2d0fcd27cab9c416c5089b4c76.tar.gz
sample.ceph.conf: include debug options, commented out
Diffstat (limited to 'src/sample.ceph.conf')
-rw-r--r--src/sample.ceph.conf25
1 files changed, 20 insertions, 5 deletions
diff --git a/src/sample.ceph.conf b/src/sample.ceph.conf
index cd1132660f7..22ea4b84b63 100644
--- a/src/sample.ceph.conf
+++ b/src/sample.ceph.conf
@@ -21,8 +21,12 @@
[mon]
mon data = /data/mon$id
- ; some minimal logging (just message traffic) to aid debugging
- debug ms = 1
+ ; logging, for debugging monitor crashes, in order of
+ ; their likelihood of being helpful :)
+ ;debug ms = 1
+ ;debug mon = 20
+ ;debug paxos = 20
+ ;debug auth = 20
[mon0]
host = alpha
@@ -42,6 +46,10 @@
; where the mds keeps it's secret encryption keys
keyring = /data/keyring.$name
+ ; mds logging to debug issues.
+ ;debug ms = 1
+ ;debug mds = 20
+
[mds.alpha]
host = alpha
@@ -55,13 +63,20 @@
; This is where the btrfs volume will be mounted.
osd data = /data/osd$id
- ; Ideally, make this a separate disk or partition. A few GB
- ; is usually enough; more if you have fast disks. You can use
- ; a file under the osd data dir if need be
+ ; Ideally, make this a separate disk or partition. A few
+ ; hundred MB should be enough; more if you have fast or many
+ ; disks. You can use a file under the osd data dir if need be
; (e.g. /data/osd$id/journal), but it will be slower than a
; separate disk or partition.
osd journal = /data/osd$id/journal
+ ; osd logging to debug osd issues, in order of likelihood of being
+ ; helpful
+ ;debug ms = 1
+ ;debug osd = 20
+ ;debug filestore = 20
+ ;debug journal = 20
+
[osd0]
host = delta