[Gluster-devel] Geo-rep portability issues with NetBSD

Kotresh Hiremath Ravishankar khiremat at redhat.com
Mon Aug 31 12:35:29 UTC 2015


Hi Emmanuel,

Right now, I am just tweaking the obstacles to bypass them and 
uncover other issues. I have not fixed them in code. It takes
a while.

Well now I am stuck with the following.

geo-rep uses libgfchangelog.so shared library.
When gluster is installed using source, all other shared libraries are loaded fine,
but libgfchangelog doesn't.
LINUX:
   ldconfig /usr/local/lib

NETBSD:
   Since that din't work, I did /usr/lib/libgfchangelog.so -> /usr/local/lib/libgfchangelog.so
Well, it able to find the library, the function fails. I need to debug what's the reason.
You can login into nbslave75 and check.

#gluster vol geo-rep master nbslave75.cloud.gluster.org::slave status
#gluster vol geo-rep master nbslave75.cloud.gluster.org::slave start

Logs:
/var/log/gluster/geo-replication/master/ssh%3A%2F%2Froot%4023.253.43.210%3Agluster%3A%2F%2F127.0.0.1%3Aslave.log
which says library not found. After playing around with symlinks. It did work, but 
function call failed with "name too long" but I pretty sure it is something else (Invalid Argument Errors)
You can see the logs of libgfchangelog here:
ssh%3A%2F%2Froot%4023.253.43.210%3Agluster%3A%2F%2F127.0.0.1%3Aslave.%2Fd%2Fbackends%2Fmaster-changes.log


Rsync version update:
    Thanks for the update! But it still doesn't support --xattrs and --acls option. 
    That can be disabled in geo-rep config for now.

Let me know if you can find out something!
Thanks in Advance!

Thanks and Regards,
Kotresh H R

----- Original Message -----
> From: "Emmanuel Dreyfus" <manu at netbsd.org>
> To: "Kotresh Hiremath Ravishankar" <khiremat at redhat.com>, "Gluster Devel" <gluster-devel at gluster.org>
> Cc: "Aravinda" <avishwan at redhat.com>
> Sent: Monday, August 31, 2015 7:39:35 AM
> Subject: Re: Geo-rep  portability issues with NetBSD
> 
> Kotresh Hiremath Ravishankar <khiremat at redhat.com> wrote:
> 
> > Please let me know your thoughts
> 
> We can disable them, OTOH you seem close to have resolved the 5 points.
> Do you need any help there?
> 
> --
> Emmanuel Dreyfus
> http://hcpnet.free.fr/pubz
> manu at netbsd.org
> 


More information about the Gluster-devel mailing list