From: Wido den Hollander <wido@widodh.nl>
To: John Axel Eriksson <john@insane.se>
Cc: ceph-devel@vger.kernel.org
Subject: Re: What's the default data dir for radosgw?
Date: Wed, 15 Aug 2012 13:18:27 +0200 [thread overview]
Message-ID: <502B8583.5070807@widodh.nl> (raw)
In-Reply-To: <CAMmJxtL24JkuYUNo5SPRArXoq0yF=i6Gkzu0SXjP=z+5W_CO=g@mail.gmail.com>
On 08/15/2012 12:21 PM, John Axel Eriksson wrote:
> I found somewhere that it's supposed to be
> /var/lib/ceph/radosgw/ceph-$id. Ok in my case I guess that would mean:
> /var/lib/ceph/radosgw/ceph-client.radosgw.gateway would that be
> correct? Since I need to store the keyring in that directory for
> example and I want to use the defaults.
>
I checked the source (common/config_opts.h) for you and it says:
OPTION(rgw_data, OPT_STR, "/var/lib/ceph/radosgw/$cluster-$id")
By default the variable cluster is "ceph", so your path would be:
/var/lib/ceph/radosgw/ceph-radosgw.gateway
$name = client.radosgw.gateway
$id = radosgw.gateway
I fetched this from the old Wiki [0]:
The following variable substitutions allow you to define many options
generically in [global] or the daemon type section (e.g., [osd]):
* $name - daemon name (e.g. 'osd.2', 'mds.foo', 'mon.1')
* $type - daemon type (e.g. 'osd', 'mds', 'mon')
* $id or $num - daemon number or name (e.g. '2', 'foo', '1')
Wido
[0]: http://ceph.com/wiki/Cluster_configuration
> John
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2012-08-15 11:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-15 10:21 What's the default data dir for radosgw? John Axel Eriksson
2012-08-15 11:18 ` Wido den Hollander [this message]
2012-08-15 12:58 ` John Axel Eriksson
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=502B8583.5070807@widodh.nl \
--to=wido@widodh.nl \
--cc=ceph-devel@vger.kernel.org \
--cc=john@insane.se \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.