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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to