From a3dc4bdac2057c2d0fcd27cab9c416c5089b4c76 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 26 May 2010 21:47:35 -0700 Subject: sample.ceph.conf: include debug options, commented out --- src/sample.ceph.conf | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to 'src/sample.ceph.conf') 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 -- cgit v1.2.1