Hi, Vincent Bosquier - UCit wrote on Fri, Sep 29, 2017 at 09:24:02AM +0200: > [...] > $> cmake -DCMAKE_BUILD_TYPE=Maintainer -DBUILD_CONFIG=everything > -DCMAKE_INSTALL_PREFIX=/opt/nfs-ganesha/git-release ../src > [...] > EXPORT > { > Export_Id = 771; > Path = /shared/data; > Pseudo = /proxy/master/shared/data; > Access_Type = RW; > FSAL { > Name = PROXY_NFSv4; > } > } > [...] > ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main] > load_fsal :NFS STARTUP :CRIT :Could not dlopen > module:/opt/nfs-ganesha/git-release/lib64/ganesha/libfsalproxy_nfsv4.so > Error:/opt/nfs-ganesha/git-release/lib64/ganesha/libfsalproxy_nfsv4.so: > cannot open shared object file: No such file or directory > [..] > I have highlighted in BOLD a set of error messages that try to point out > what my problem is but I don't know how to solve it as I could not find any > such reference to libfsalproxy_nfsv4.so in the mailing lists or in Google.
You are right that is the problem, but it stems from the fact that the .so name is libfsalproxy.so. Ganesha tries to load a .so that matches whatever you give in the FSAL { Name = } config param, I think it should just be "proxy" and it will load your config. Try to just change that and if there are more problems it might be more config problems (I see other differences with the example). I'm not sure where these come from but on my system there are samples at /etc/ganesha/ganesha.conf.fsal_proxy* Here's a simple example that probably works (not tested): ---------------- NFS_CORE_PARAM { #local test of fsal_proxy with a local knfsd on 2049 NFS_Port = 2050; } EXPORT { # Export Id (mandatory, each EXPORT must have a unique Export_Id) Export_Id = 77; # Exported path (mandatory) Path = /tmp; # Pseudo Path (required for NFS v4) Pseudo = /tmp_proxy; # Required for access (default is None) # Could use CLIENT blocks instead Access_Type = RW; # Exporting FSAL FSAL { Name = PROXY; } } PROXY { Remote_Server { Srv_Addr = 127.0.0.1; } } ---------------- If this doesn't work I'm sure Patrice has something better. -- Dominique Martinet ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Nfs-ganesha-devel mailing list Nfs-ganesha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel