* What's the default data dir for radosgw? @ 2012-08-15 10:21 John Axel Eriksson 2012-08-15 11:18 ` Wido den Hollander 0 siblings, 1 reply; 3+ messages in thread From: John Axel Eriksson @ 2012-08-15 10:21 UTC (permalink / raw) To: ceph-devel 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. John ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What's the default data dir for radosgw? 2012-08-15 10:21 What's the default data dir for radosgw? John Axel Eriksson @ 2012-08-15 11:18 ` Wido den Hollander 2012-08-15 12:58 ` John Axel Eriksson 0 siblings, 1 reply; 3+ messages in thread From: Wido den Hollander @ 2012-08-15 11:18 UTC (permalink / raw) To: John Axel Eriksson; +Cc: ceph-devel 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 > ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What's the default data dir for radosgw? 2012-08-15 11:18 ` Wido den Hollander @ 2012-08-15 12:58 ` John Axel Eriksson 0 siblings, 0 replies; 3+ messages in thread From: John Axel Eriksson @ 2012-08-15 12:58 UTC (permalink / raw) To: Wido den Hollander; +Cc: ceph-devel Yeah I actually figured it out through trial and error but thanks! On Wed, Aug 15, 2012 at 1:18 PM, Wido den Hollander <wido@widodh.nl> wrote: > 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 >> > ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-15 12:58 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-08-15 10:21 What's the default data dir for radosgw? John Axel Eriksson 2012-08-15 11:18 ` Wido den Hollander 2012-08-15 12:58 ` John Axel Eriksson
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.