Hi,
I have manager to create a volume using glusterfs (name:gfs, type: distribute, using 4 nodes) and mount it to /gfs on node_N1. Now, I would like to use nfs-ganesha to export the volume and mount it on the other nodes as well. I have used the gluster documentation and some other guides found on the Internet, but without success.
https://docs.gluster.org/en/v3/Administrator%20Guide/NFS-Ganesha%20GlusterFS%20Integration/
https://ahelpme.com/software/glusterfs/create-and-export-a-glusterfs-volume-with-nfs-ganesha-in-centos-8/
My export file looks like:
EXPORT
{
# Export Id (mandatory, each EXPORT must have a unique Export_Id)
Export_Id =2;
# Exported path (mandatory)
Path = "/gfs";
# Exporting FSAL
FSAL {
name = GLUSTER;
hostname="10.4.32.100";
volume="gfs";
}
Access_type = RW;
Disable_ACL = true;
Squash="No_root_squash";
# Pseudo Path (required for NFS v4)
Pseudo="/gfs";
Protocols = "3", "4" ;
Transports = "UDP","TCP";
SecType = "sys";
And in the log file I can read the following errors:
fs_read_recov_clids_impl :CLIENT ID :EVENT :invalid clid format: node0
ganesha.nfsd-30764[main] fs_read_recov_clids_impl :CLIENT ID :EVENT :invalid clid format: node0
ganesha.nfsd-30764[main] glusterfs_create_export :FSAL :EVENT :Volume gfs exported at : ‘/’
ganesha.nfsd-30764[main] glusterfs_get_fs :FSAL :CRIT :Unable to initialize volume. Volume: gfs
ganesha.nfsd-30764[main] mdcache_fsal_create_export :FSAL :MAJ :Failed to call create_export on underlying FSAL GLUSTER
ganesha.nfsd-30764[main] fsal_cfg_commit :CONFIG :CRIT :Could not create export for (/gfs) to (/gfs)
ganesha.nfsd-30764[main] config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/exports/export_scratch.nfsv.conf:8): 1 validation errors in block FSAL
ganesha.nfsd-30764[main] config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/exports/export_scratch.nfsv.conf:8): Errors processing block (FSAL)
ganesha.nfsd-30764[main] config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/exports/export_scratch.nfsv.conf:1): 1 validation errors in block EXPORT
ganesha.nfsd-30764[main] config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/exports/export_scratch.nfsv.conf:1): Errors processing block (EXPORT)
ganesha.nfsd-30764[main] lower_my_caps :NFS STARTUP :EVENT :CAP_SYS_RESOURCE was successfully removed for proper quota management in FSAL
Do you have any experience with setting up glusterfs and nfs-ganesha?
Thank you.