From: Wido den Hollander <wido@widodh.nl>
To: Atish Kathpal <atish.kathpal@gmail.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: mkcephfs giving problems
Date: Thu, 15 Sep 2011 13:28:55 +0200 [thread overview]
Message-ID: <1316086135.3104.4.camel@wido-desktop> (raw)
In-Reply-To: <loom.20110915T081127-706@post.gmane.org>
Hi,
As Jantje said, it seems you are not running as root.
But I do have some recommendations for your config:
On Thu, 2011-09-15 at 06:14 +0000, Atish Kathpal wrote:
> [global]
> auth supported = cephx
> keyring = /etc/ceph/ceph.keyring
>
> [mon]
> mon data = /ceph_data/mon.0
>
This section is globally, so if you'd add more monitors, they would all
get /ceph_data/mon.0 as data dir.
I'd do:
[mon]
mon data = /ceph_data/mon.$id
> [mds]
>
> [osd]
> osd data = /ceph_data/osd.0
> osd journal = /ceph_data/osd.0.journal
> osd journal size = 1000
Same goes here for your OSD, do:
osd data = /ceph_data/osd.$id
osd journal = /ceph_data/osd.$id.journal
>
> [mon.0]
> host = atish-virtual-machine
> mon addr = 10.72.147.207:6789
Monitors should not be named "0", "1", etc, but more like:
* mon.alpha
* mon.beta
* mon.charlie
>
> [osd.0]
> host = atish-virtual-machine
>
> [mds.0]
> host = atish-virtual-machine
And you have only one OSD, is that correct?
Wido
next prev parent reply other threads:[~2011-09-15 11:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-15 6:14 mkcephfs giving problems Atish Kathpal
2011-09-15 11:11 ` Smets, Jan (Jan)
2011-09-15 11:28 ` Wido den Hollander [this message]
[not found] ` <CAMiHsJLTR=rvoND829mE_AsZqAhY4jAAu60QtHQFepg5E8a9Rg@mail.gmail.com>
2011-09-15 12:01 ` Wido den Hollander
2011-09-15 17:07 ` Josh Durgin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1316086135.3104.4.camel@wido-desktop \
--to=wido@widodh.nl \
--cc=atish.kathpal@gmail.com \
--cc=ceph-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox