Do you have following lines in main.c of your FSAL?const char XXfsal_name[] =
"NCDFS";struct config_block XX_param = { .dbus_interface_name =
"org.ganesha.nfsd.config.fsal.ncdfs", .blk_desc.name =
"NCDFS",
--------------------------------
----- 原始邮件 -----
发件人:kjl8401 <kjl8401(a)126.com>
收件人:dang(a)fprintf.net
抄送人:devel(a)lists.nfs-ganesha.org
主题:[NFS-Ganesha-Devel]_回复:Re:_nfs-ganesha_not_load_private_Moudle
日期:2019年08月05日 19点46分
dear devel
Very sorry to trouble you!I think I have checked it according to you, but I still
don't know the cause of the problem。I feel very depressed because of having wasted
several days on this issue。I changed the name of module from NCSF to NCDFS。Please tell me
where my mistake is and thank you very much!
ganesha.conf
The log of problem are the same as
before!I am looking forward to hearing from you. Thank you very much!
At 2019-08-02 23:38:34, "Daniel Gryniewicz" <dang(a)fprintf.net> wrote:
You will generally get a faster response by posting to the mailing list
(devel(a)lists.nfs-ganesha.org) than by mailing contributors directly.
FSALs are loaded by the fsal_manager in fsal_load.c. The library that is loaded is
<libdir>/ganesha/lib<fsal>.so where <fsal> is the Name given in the
config for that FSAL, transformed to lower case. You will need to make sure there are 3
things done correctly:1. The name of your fsal library must match the name given in the
config2. Your fsal must be installed in the correct location3. Your fsal must have
MODULE_INIT and MODULE_FINI functions built into it.
Without seeing the source, it's a bit hard to debug.
Daniel
On Fri, Aug 2, 2019 at 7:41 AM kjl8401 <kjl8401(a)126.com> wrote:
dear dang,hello, i have a question for you about using nfs-ganesha.The private moudle NCSF
do not load while compiled. you are an important contributior of this project. I think
you might meet this problem and hope you can reply to me. Let me tell you about
question.
the private NCSF moudle looks like load successfully
/FSAL/FSAL_NCSF/CMakeList.txtlibfsalncsf.so generated successfully
but execute the command# ganesha.nfsd -f /etc/ganesha/ganesha.conf -L nfs-ganesha.log -N
NIV_DEBUG
nfs-ganesha.log has not logi do not konow what causes this problem and how to
resolve.I am looking forward to hearing from you. Thank you very much. Best, Sincerely,kjl8401
_______________________________________________
Devel mailing list -- devel(a)lists.nfs-ganesha.org
To unsubscribe send an email to devel-leave(a)lists.nfs-ganesha.org