Quoting Stefan Kooman (stefan(a)bit.nl):
Quoting Jeff Layton (jlayton(a)redhat.com):
> This is already implemented via a "namespace" parameter to RADOS_KV in
> nfs-ganesha 2.7. It's not implemented in RADOS_URLS yet, but it wouldn't
> be too hard to do.
It's nice to have your (cluster) config in a centralized location so you
know for sure all daemons are using the same config. So yeah, would be
nice to have this support for RADOS_URLS too.
If I understand you correctly, you have the possibility to use one
namespace, which is then used for *both* librados as well as libcephfs,
right?
Is it possible to use the "namespace" parameter in the ceph.conf for
use with rados_ng? Would this work?
...
RADOS_KV
{
# Path to a ceph.conf file for this cluster.
# Ceph_Conf = /etc/ceph/ceph.conf;
# The recoverybackend has its own ceph client. The default is to
# let libcephfs autogenerate the userid. Note that RADOS_KV block does
# not have a setting for Secret_Access_Key. A cephx keyring file must
# be used for authenticated access.
# UserId = "ganesharecov";
# Pool ID of the ceph storage pool that contains the recovery objects.
# The default is "nfs-ganesha".
# pool = "nfs-ganesha";
# Set the RADOS namespace to use within the pool (default is NULL)
namespace = your-name-space-here
# Set the object id of the grace database RADOS object (default is
"grace")
oid = grace
}
Thanks,
Stefan
P.s. It would be a waste if nobody is using these useful features
because they don't know of their existence / know how to use it.
--
| BIT BV
http://www.bit.nl/ Kamer van Koophandel 09090351
| GPG: 0xD14839C6 +31 318 648 688 / info(a)bit.nl