Hi,

 

NFS-Ganesha version is 2.5-rc8.

The 3 servers are in the same LAN (10.0.0.0/255.255.255.0). iptables,
ip6tables and SELinux are disabled on the 3 servers. The NFS-Ganesha test
system runs on Centos 6.7 in AWS cloud (the master and the client run Amazon
Linux).

On "master" (IP 10.0.0.239), /etc/exports contains the following:
/shared/data *(rw,sync,no_root_squash)

On "client" (IP 10.0.0.145), I try to mount the directory using the
following command and I get the following error:
$> mount -t nfs4 proxy:/proxy/master/shared/data /mnt
mount.nfs4: mounting proxy:/proxy/master/shared/data failed, reason given by
server: No such file or directory

My "proxy" server (IP 10.0.0.109) is configured as follows:
- standard NFS service is stopped
- NFS Ganesha is installed using the latest git release and compiled
manually with:
$> cmake -DCMAKE_BUILD_TYPE=Maintainer -DBUILD_CONFIG=everything
-DCMAKE_INSTALL_PREFIX=/opt/nfs-ganesha/git-release ../src
$> make
$> make install
$> ./ganesha.nfsd -v
NFS-Ganesha Release = V2.5-rc8
ganesha.nfsd compiled on May 29 2017 at 22:07:22
Release comment = GANESHA file server is 64 bits compliant and supports NFS
v3,4.0,4.1 (pNFS) and 9P
Git HEAD = dfa51c44da4fffaf24164e0a64dd1d8217081788
Git Describe = V2.5-rc8-0-gdfa51c4

- The ganesha.conf file is copied below:
----------
EXPORT_DEFAULTS
{
        Squash = no_root_squash;
        Protocols = NFSv4;
}

EXPORT
{
        Export_Id = 771;
        Path = /shared/data;
        Pseudo = /proxy/master/shared/data;
        Access_Type = RW;
        FSAL {
             Name = PROXY_NFSv4;
      }
}

PROXY_NFSv4
{
    Srv_Addr = 10.0.0.239;
    NFS_SendSize = 32768 ;
    NFS_RecvSize = 32768 ;
    Retry_SleepTime = 15 ;
    NFS_Proto = "tcp" ;
}

NFSV4
{
        Graceless = true;
}

NFS_CORE_PARAM {
    NFS_Protocols = 4;
}

LOG
{
   FACILITY
        {
        name = FILE;
        destination = /var/log/nfs-ganesha.log;
        max_level = DEBUG;
        enable = active;
        }
}
----------

- The /proxy/master/shared/data directory exists (created manually) in the
local filesystem of the "proxy" server
- NFS Ganesha starts and the logs provide the following info:
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs_set_param_from_conf :NFS STARTUP :EVENT :Configuration file successfully
parsed
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
init_server_pkgs :NFS STARTUP :EVENT :Initializing ID Mapper.
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
init_server_pkgs :NFS STARTUP :EVENT :ID Mapper successfully initialized.
31/05/2017 08:19:15 : epoch 592e7c83 :
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
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
load_fsal :NFS STARTUP :MAJ :Failed to load module
(/opt/nfs-ganesha/git-release/lib64/ganesha/libfsalproxy_nfsv4.so) because:
Can not access a needed shared library
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main] main
:NFS STARTUP :WARN :No export entries found in configuration file !!!
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
config_errs_to_log :CONFIG :CRIT :Config File
(/opt/nfs-ganesha/git-release/etc/ganesha/ganesha.conf:34): Failed to load
FSAL (PROXY_NFSv4) because: Can not access a needed shared library
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
config_errs_to_log :CONFIG :CRIT :Config File
(/opt/nfs-ganesha/git-release/etc/ganesha/ganesha.conf:34): 1 validation
errors in block FSAL
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
config_errs_to_log :CONFIG :CRIT :Config File
(/opt/nfs-ganesha/git-release/etc/ganesha/ganesha.conf:34): Errors
processing block (FSAL)
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
config_errs_to_log :CONFIG :CRIT :Config File
(/opt/nfs-ganesha/git-release/etc/ganesha/ganesha.conf:18): 1 validation
errors in block EXPORT
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
config_errs_to_log :CONFIG :CRIT :Config File
(/opt/nfs-ganesha/git-release/etc/ganesha/ganesha.conf:18): Errors
processing block (EXPORT)
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
lower_my_caps :NFS STARTUP :EVENT :CAP_SYS_RESOURCE was successfully removed
for proper quota management in FSAL
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
lower_my_caps :NFS STARTUP :EVENT :currenty set capabilities are: =
cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_fsetid,cap_kil
l,cap_setgid,cap_setuid,cap_setpcap,cap_linux_immutable,cap_net_bind_service
,cap_net_broadcast,cap_net_admin,cap_net_raw,cap_ipc_lock,cap_ipc_owner,cap_
sys_module,cap_sys_rawio,cap_sys_chroot,cap_sys_ptrace,cap_sys_pacct,cap_sys
_admin,cap_sys_boot,cap_sys_nice,cap_sys_time,cap_sys_tty_config,cap_mknod,c
ap_lease,cap_audit_write,cap_audit_control,cap_setfcap+ep
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs_Init_admin_thread :NFS CB :EVENT :Admin thread initialized
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs4_create_recov_dir :CLIENT ID :EVENT :Failed to create v4 recovery dir
(/opt/nfs-ganesha/git-release/var/lib/nfs/ganesha), errno=2
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs4_create_recov_dir :CLIENT ID :EVENT :Failed to create v4 recovery
dir(/opt/nfs-ganesha/git-release/var/lib/nfs/ganesha/v4recov), errno=2
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs4_create_recov_dir :CLIENT ID :EVENT :Failed to create v4 recovery
dir(/opt/nfs-ganesha/git-release/var/lib/nfs/ganesha/v4old), errno=2
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs4_create_recov_dir :CLIENT ID :EVENT :Failed to create v4 recovery
dir(/opt/nfs-ganesha/git-release/var/lib/nfs/ganesha/v4recov/node0), errno=2
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs4_create_recov_dir :CLIENT ID :EVENT :Failed to create v4 recovery
dir(/opt/nfs-ganesha/git-release/var/lib/nfs/ganesha/v4old/node0), errno=2
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs4_load_recov_clids_nolock :CLIENT ID :EVENT :Failed to open v4 recovery
dir (/opt/nfs-ganesha/git-release/var/lib/nfs/ganesha/v4old/node0), errno=2
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs4_start_grace :STATE :EVENT :NFS Server skipping GRACE (Graceless is
true)
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs_rpc_cb_init_ccache :NFS STARTUP :EVENT :Callback creds directory
(/opt/nfs-ganesha/git-release/var/run/ganesha) already exists
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs_rpc_cb_init_ccache :NFS STARTUP :WARN
:gssd_refresh_krb5_machine_credential failed (2:2)
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs_rpc_cbsim_pkginit :NFS CB :EVENT :Callback Simulator Initialized
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs_Start_threads :THREAD :EVENT :Starting delayed executor.
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs_Start_threads :THREAD :EVENT :gsh_dbusthread was started successfully
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs_Start_threads :THREAD :EVENT :admin thread was started successfully
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs_Start_threads :THREAD :EVENT :reaper thread was started successfully
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs_Start_threads :THREAD :EVENT :General fridge was started successfully
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[reaper]
nfs4_clean_old_recov_dir :CLIENT ID :EVENT :Failed to open old v4 recovery
dir (/opt/nfs-ganesha/git-release/var/lib/nfs/ganesha/v4old/node0), errno=2
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nsm_connect :NLM :CRIT :failed to connect to statd
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nsm_unmonitor_all :NLM :CRIT :Can not unmonitor all clnt_create returned
NULL
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs_start :NFS STARTUP :EVENT
:-------------------------------------------------
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs_start :NFS STARTUP :EVENT :             NFS SERVER INITIALIZED
31/05/2017 08:19:15 : epoch 592e7c83 :
ip-10-0-0-109.us-west-1.compute.internal : ganesha.nfsd-28650[main]
nfs_start :NFS STARTUP :EVENT
:-------------------------------------------------

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. 

 

Vincent BOSQUIER
UCit
Be smart, don't print this email unless you need to.

 

 

De : Frank Filz [mailto:ffilz...@mindspring.com] 
Envoyé : jeudi 28 septembre 2017 23:57
À : 'Vincent Bosquier - UCit' <vincent.bosqu...@ucit.fr>;
nfs-ganesha-supp...@lists.sourceforge.net
Cc : nfs-ganesha-devel@lists.sourceforge.net
Objet : RE: [Nfs-ganesha-support] FSAL proxy error

 

What version of Ganesha are you using? How did you install it or did you
build from source?

 

Cc: nfs-ganesha-devel mailing list to make sure the FSAL_PROXY developers
see this and can help.

 

Frank

 

From: Vincent Bosquier - UCit [mailto:vincent.bosqu...@ucit.fr] 
Sent: Thursday, September 28, 2017 6:20 AM
To: nfs-ganesha-supp...@lists.sourceforge.net
<mailto:nfs-ganesha-supp...@lists.sourceforge.net> 
Subject: [Nfs-ganesha-support] FSAL proxy error

 

Hi NFS-Ganesha Support,

I'm currently setting up NFS Ganesha to use the proxying feature on a server
named "proxy". The goal is to export in NFS v4 a directory hosted on the
local storage of a server named "master" and mount it in a client server
named "client" through "proxy" .

NFS Ganesha seems to start but a CRITICAL problem is raised in the logs
about libfsalproxy_nfsv4.so:
"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"

Can you help, please?

Best regards,
Vincent

Vincent BOSQUIER
UCit
Be smart, don't print this email unless you need to.

 

 

 


 
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campai
gn=sig-email&utm_content=emailclient&utm_term=icon> 

Virus-free.
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campai
gn=sig-email&utm_content=emailclient&utm_term=link> www.avast.com 

 

------------------------------------------------------------------------------
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

Reply via email to