RecoveryBackend Unknown recovery backend
I be trying to set up nfs-ganesha as an cluster and store the recovery backend data in my ceph cluster. From fallowing the guide and using rados_kv and rados_ng, i get the error: "nfs4_recovery_init :CLIENT ID :CRIT :Unknown recovery backend" In fact testing all available options "fs, fs_ng, rados_kv, rados_ng" only the default (FS) works and dont give me the error am i missing something, i am using version 2.5.5, what i understand supports it. Thanks
On Fri, 2018-05-25 at 10:51 +0000, nigdav007@gmail.com wrote:
I be trying to set up nfs-ganesha as an cluster and store the recovery backend data in my ceph cluster.
From fallowing the guide and using rados_kv and rados_ng, i get the error: "nfs4_recovery_init :CLIENT ID :CRIT :Unknown recovery backend"
In fact testing all available options "fs, fs_ng, rados_kv, rados_ng" only the default (FS) works and dont give me the error
am i missing something, i am using version 2.5.5, what i understand supports it.
Is your ganesha built with RADOS support? Try something like: $ ldd `which ganesha.nfsd` | grep rados ...and see whether it's linked against librados. If the rados development libraries aren't present and you haven't explicitly requested -DUSE_RADOS_RECOV=ON then those drivers will be disabled at cmake time. -- Jeff Layton <jlayton@kernel.org>
Thanks Jeff i ran the command and get librados.so.2 => /usr/lib/librados.so.2 (0x00007f9442342000) but same issue as before its really odd
On 05/25/2018 08:47 AM, nigel davies wrote:
Thanks Jeff i ran the command and get
librados.so.2 => /usr/lib/librados.so.2 (0x00007f9442342000)
but same issue as before its really odd
have you installed the nfs-ganesha-rgw rpm or deb? Is there a /usr/lib64/ganesha/libfsalrgw.so ? -- Kaleb
Yes on both parts On Fri, 25 May 2018, 2:00 pm Kaleb S. KEITHLEY, <kkeithle@redhat.com> wrote:
On 05/25/2018 08:47 AM, nigel davies wrote:
Thanks Jeff i ran the command and get
librados.so.2 => /usr/lib/librados.so.2 (0x00007f9442342000)
but same issue as before its really odd
have you installed the nfs-ganesha-rgw rpm or deb?
Is there a /usr/lib64/ganesha/libfsalrgw.so ?
--
Kaleb
On Fri, 2018-05-25 at 15:24 +0100, nigel davies wrote:
Yes on both parts
On Fri, 25 May 2018, 2:00 pm Kaleb S. KEITHLEY, <kkeithle@redhat.com> wrote:
On 05/25/2018 08:47 AM, nigel davies wrote:
Thanks Jeff i ran the command and get
librados.so.2 => /usr/lib/librados.so.2 (0x00007f9442342000)
but same issue as before its really odd
have you installed the nfs-ganesha-rgw rpm or deb?
Is there a /usr/lib64/ganesha/libfsalrgw.so ?
fs_ng and rados_ng are not supported in v2.5.5: ----------------8<----------------------------- static int load_backend(const char *name) { if (!strcmp(name, "fs")) { fs_backend_init(&recovery_backend); return 0; } #ifdef USE_RADOS_RECOV if (!strcmp(name, "rados_kv")) { rados_kv_backend_init(&recovery_backend); return 0; } #endif return -1; } ----------------8<----------------------------- For rados_kv, I'd go look at how it was built and ensure that -DUSE_RADOS_RECOV=ON at cmake time. -- Jeff Layton <jlayton@kernel.org>
Thanks, i am sire i read some where it be. I git the install from ceph repo. how do i tell it was built with that support? On Fri, May 25, 2018 at 3:45 PM, Jeff Layton <jlayton@kernel.org> wrote:
On Fri, 2018-05-25 at 15:24 +0100, nigel davies wrote:
Yes on both parts
On Fri, 25 May 2018, 2:00 pm Kaleb S. KEITHLEY, <kkeithle@redhat.com> wrote:
On 05/25/2018 08:47 AM, nigel davies wrote:
Thanks Jeff i ran the command and get
librados.so.2 => /usr/lib/librados.so.2 (0x00007f9442342000)
but same issue as before its really odd
have you installed the nfs-ganesha-rgw rpm or deb?
Is there a /usr/lib64/ganesha/libfsalrgw.so ?
fs_ng and rados_ng are not supported in v2.5.5:
----------------8<----------------------------- static int load_backend(const char *name) { if (!strcmp(name, "fs")) { fs_backend_init(&recovery_backend); return 0; } #ifdef USE_RADOS_RECOV if (!strcmp(name, "rados_kv")) { rados_kv_backend_init(&recovery_backend); return 0; } #endif return -1; } ----------------8<-----------------------------
For rados_kv, I'd go look at how it was built and ensure that -DUSE_RADOS_RECOV=ON at cmake time. -- Jeff Layton <jlayton@kernel.org>
Sorry i installed from deb package. on Ceph repo install On Fri, May 25, 2018 at 3:58 PM, nigel davies <nigdav007@gmail.com> wrote:
Thanks, i am sire i read some where it be.
I git the install from ceph repo. how do i tell it was built with that support?
On Fri, May 25, 2018 at 3:45 PM, Jeff Layton <jlayton@kernel.org> wrote:
On Fri, 2018-05-25 at 15:24 +0100, nigel davies wrote:
Yes on both parts
On Fri, 25 May 2018, 2:00 pm Kaleb S. KEITHLEY, <kkeithle@redhat.com> wrote:
On 05/25/2018 08:47 AM, nigel davies wrote:
Thanks Jeff i ran the command and get
librados.so.2 => /usr/lib/librados.so.2 (0x00007f9442342000)
but same issue as before its really odd
have you installed the nfs-ganesha-rgw rpm or deb?
Is there a /usr/lib64/ganesha/libfsalrgw.so ?
fs_ng and rados_ng are not supported in v2.5.5:
----------------8<----------------------------- static int load_backend(const char *name) { if (!strcmp(name, "fs")) { fs_backend_init(&recovery_backend); return 0; } #ifdef USE_RADOS_RECOV if (!strcmp(name, "rados_kv")) { rados_kv_backend_init(&recovery_backend); return 0; } #endif return -1; } ----------------8<-----------------------------
For rados_kv, I'd go look at how it was built and ensure that -DUSE_RADOS_RECOV=ON at cmake time. -- Jeff Layton <jlayton@kernel.org>
There currently aren't any 2.6 debs up on download.ceph.com (the builder is broken at the moment), so if you have debs, then you have a 2.5.x version, which does not have rados_kv, only rados_recov. To try rados_kv, you'll need to either build yourself from source, or try an RPM based distro. Daniel On 05/29/2018 09:21 AM, nigel davies wrote:
Sorry i installed from deb package. on Ceph repo install
On Fri, May 25, 2018 at 3:58 PM, nigel davies <nigdav007@gmail.com <mailto:nigdav007@gmail.com>> wrote:
Thanks, i am sire i read some where it be.
I git the install from ceph repo. how do i tell it was built with that support?
On Fri, May 25, 2018 at 3:45 PM, Jeff Layton <jlayton@kernel.org <mailto:jlayton@kernel.org>> wrote:
On Fri, 2018-05-25 at 15:24 +0100, nigel davies wrote: > Yes on both parts > > > On Fri, 25 May 2018, 2:00 pm Kaleb S. KEITHLEY, <kkeithle@redhat.com <mailto:kkeithle@redhat.com>> wrote: > > On 05/25/2018 08:47 AM, nigel davies wrote: > > > Thanks Jeff i ran the command and get > > > > > > librados.so.2 => /usr/lib/librados.so.2 (0x00007f9442342000) > > > > > > but same issue as before its really odd > > > > > > > have you installed the nfs-ganesha-rgw rpm or deb? > > > > Is there a /usr/lib64/ganesha/libfsalrgw.so ? > >
fs_ng and rados_ng are not supported in v2.5.5:
----------------8<----------------------------- static int load_backend(const char *name) { if (!strcmp(name, "fs")) { fs_backend_init(&recovery_backend); return 0; } #ifdef USE_RADOS_RECOV if (!strcmp(name, "rados_kv")) { rados_kv_backend_init(&recovery_backend); return 0; } #endif return -1; } ----------------8<-----------------------------
For rados_kv, I'd go look at how it was built and ensure that -DUSE_RADOS_RECOV=ON at cmake time. -- Jeff Layton <jlayton@kernel.org <mailto:jlayton@kernel.org>>
_______________________________________________ Support mailing list -- support@lists.nfs-ganesha.org To unsubscribe send an email to support-leave@lists.nfs-ganesha.org
participants (5)
-
Daniel Gryniewicz -
Jeff Layton -
Kaleb S. KEITHLEY -
nigdav007@gmail.com -
nigel davies