Replies: 1 comment
-
/var/log/gluster/gfapi.log should give more details on why volume initialization failed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I am on these version of the software and struggling to get the setup working.
glusterfs-9.3-2
nfs-ganesha-3.5-3
I have setup a basic gluster volume:
[root@ganesh-01 ~]# gluster volume info william2
Volume Name: william2
Type: Distribute
Volume ID: be388d3d-d834-41db-b4d1-f7df338dfc7f
Status: Started
Snapshot Count: 0
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: ganesh-01.eng.example.com:/export/eng/gluster
Options Reconfigured:
storage.fips-mode-rchecksum: on
transport.address-family: inet
nfs.disable: on
[root@ganesh-01 ~]#
I am using this basic ganesha configuration. I actually copied it online from a discussion where the user said it worked for him
[root@ganesh-01 ~]# cat /etc/ganesha/ganesha.conf
EXPORT
{
# Export Id (mandatory, each EXPORT must have a unique Export_Id)
Export_Id = 1;
}
When I restart ganesha after putting the above configuration in place, I am seeing this error in the logs. (Ganesha logs)
27/09/2021 22:27:21 : epoch 61527d89 : ganesh-01.eng.example.com : ganesha.nfsd-5084[main] glusterfs_get_fs :FSAL :CRIT :Unable to initialize volume. Volume: william2
27/09/2021 22:27:24 : epoch 61527d89 : ganesh-01.eng.example.com : ganesha.nfsd-5084[main] mdcache_fsal_create_export :FSAL :MAJ :Failed to call create_export on underlying FSAL GLUSTER
27/09/2021 22:27:24 : epoch 61527d89 : ganesh-01.eng.example.com : ganesha.nfsd-5084[main] fsal_cfg_commit :CONFIG :CRIT :Could not create export for (/gjsmedia) to (/gjsmedia)
27/09/2021 22:27:24 : epoch 61527d89 : ganesh-01.eng.example.com : ganesha.nfsd-5084[main] main :NFS STARTUP :WARN :No export entries found in configuration file !!!
27/09/2021 22:27:24 : epoch 61527d89 : ganesh-01.eng.example.com : ganesha.nfsd-5084[main] config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:22): 1 validation errors in block FSAL
27/09/2021 22:27:24 : epoch 61527d89 : ganesh-01.eng.example.com : ganesha.nfsd-5084[main] config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:22): Errors processing block (FSAL)
27/09/2021 22:27:24 : epoch 61527d89 : ganesh-01.eng.example.com : ganesha.nfsd-5084[main] config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:1): 1 validation errors in block EXPORT
27/09/2021 22:27:24 : epoch 61527d89 : ganesh-01.eng.example.com : ganesha.nfsd-5084[main] config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:1): Errors processing block (EXPORT)
27/09/2021 22:27:24 : epoch 61527d89 : ganesh-01.eng.example.com : ganesha.nfsd-5084[main] lower_my_caps :NFS STARTUP :EVENT :CAP_SYS_RESOURCE was successfully removed for proper quota management in FSAL
What could I be missing to trigger this error? I have tried it couple of permutations of this configuration and all genarating this error when I attempt to run it over gluster.
Regards,
William
Beta Was this translation helpful? Give feedback.
All reactions