Hi,
im trying to get nfs-ganesha to work with ceph as the FSAL Backend.
Um using Version 2.4.5, this is my ganeasha.conf:
EXPORT
{
Export_ID=1;
Path = /;
Pseudo = /;
Access_Type = RW;
Protocols = 3;
Transports = TCP;
FSAL {
Name = CEPH;
User_Id = "test-cephfs";
Secret_Access_Key = "***";
}
CLIENT {
Clients = client-fqdn;
Access_Type = RO;
}
}
Here are some loglines from ganeshea indicating that there is a problem:
17/07/2017 10:20:49 : epoch 596c7360 : ngw02 : ganesha.nfsd-16430[main]
load_fsal :NFS STARTUP :DEBUG :Loading FSAL CEPH with
/usr/lib/x86_64-linux-gnu/ganesha/libfsalceph.so
17/07/2017 10:20:49 : epoch 596c7360 : ngw02 : ganesha.nfsd-16430[main] init
:FSAL :DEBUG :Ceph module registering.
17/07/2017 10:20:49 : epoch 596c7360 : ngw02 : ganesha.nfsd-16430[main]
init_config :FSAL :DEBUG :Ceph module setup.
17/07/2017 10:20:49 : epoch 596c7360 : ngw02 : ganesha.nfsd-16430[main]
create_export :FSAL :CRIT :Unable to mount Ceph cluster for /.
17/07/2017 10:20:49 : epoch 596c7360 : ngw02 : ganesha.nfsd-16430[main]
mdcache_fsal_create_export :FSAL :MAJ :Failed to call create_export on
underlying FSAL Ceph
17/07/2017 10:20:49 : epoch 596c7360 : ngw02 : ganesha.nfsd-16430[main]
fsal_put :FSAL :INFO :FSAL Ceph now unused
17/07/2017 10:20:49 : epoch 596c7360 : ngw02 : ganesha.nfsd-16430[main]
fsal_cfg_commit :CONFIG :CRIT :Could not create export for (/) to (/)
17/07/2017 10:20:49 : epoch 596c7360 : ngw02 : ganesha.nfsd-16430[main]
build_default_root :CONFIG :DEBUG :Allocating Pseudo root export
17/07/2017 10:20:49 : epoch 596c7360 : ngw02 : ganesha.nfsd-16430[main]
pseudofs_create_export :FSAL :DEBUG :Created exp 0x55daf1020d80 - /
17/07/2017 10:20:49 : epoch 596c7360 : ngw02 : ganesha.nfsd-16430[main]
build_default_root :CONFIG :INFO :Export 0 (/) successfully created
17/07/2017 10:20:49 : epoch 596c7360 : ngw02 : ganesha.nfsd-16430[main] main
:NFS STARTUP :WARN :No export entries found in configuration file !!!
17/07/2017 10:20:49 : epoch 596c7360 : ngw02 : ganesha.nfsd-16430[main]
config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:25): 1
validation errors in block FSAL
17/07/2017 10:20:49 : epoch 596c7360 : ngw02 : ganesha.nfsd-16430[main]
config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:25):
Errors processing block (FSAL)
17/07/2017 10:20:49 : epoch 596c7360 : ngw02 : ganesha.nfsd-16430[main]
config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:11): 1
validation errors in block EXPORT
17/07/2017 10:20:49 : epoch 596c7360 : ngw02 : ganesha.nfsd-16430[main]
config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:11):
Errors processing block (EXPORT)
I have no problems mounting cephfs with the kernel-client on this machine,
using the same authentication data.
Has anyone gotten this to work, and maybe could give me a hint on what I'm
doing wrong?
Micha Krause
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com