Hello,

I compiled nfs-ganesha source code  on ubuntu machine. (from the Next
branch pulled on July 22 2016)

I am hitting an error when starting the nfs-ganesha service. Logs are
getting flooded with this message.
         *ganesha.nfsd:
/home/ubuntu/nfs-ganesha/src/config_parsing/config_parsing.c:1288:
proc_block: Assertion `item->type == CONFIG_BLOCK' failed.*

On turning on Verbose logging, I observe that the error occurs just after
printing fsinfo in the FSAL component.

*ganesha.nfsd-1582[main] display_fsinfo :FSAL :DEBUG :FileSystem info: {*
*              .*
*              .*
*              .*
*         ganesha.nfsd-1582[main] display_fsinfo :FSAL :DEBUG :}*


I do not see anything obviously wrong with the config file. Any inputs will
be appreciated. How do I debug this issue?


Following is my Config file, I am using a  Gluster installation for FSAL.
Also this config used to work on installed package, but does not work with
compiled source code.

- Ketan
================================================================
NFS_Core_Param {
    # Protocols must be specified in core to disable 9P.
    Protocols = 3,4;    # NFS protocols supported

    # ganesha randomly fails binding to the rquota port leading to a
restart loop.
    RQUOTA_Port = 0;
    Enable_RQUOTA = false;
}
EXPORT{
    Export_Id = 11;   # Export ID unique to each export

    Path = "/apcfs-default";   # Path of the volume to be exported. Eg:
"/test_volume"
    Pseudo = "/apcfs-default"; # NFSv4 pseudo path for this export. Eg:
"/test_volume"

    FSAL {
        name = GLUSTER;
        hostname = "172.27.19.66";  # first gluster node to contact
        volume = "apcfs-default";     # Gluster Volume name. Eg:
"test_volume"
    }

    # Disable_ACL must be declared at the export level. See:
    #
https://github.com/nfs-ganesha/nfs-ganesha/commit/a67c4ec85139d07700aca64c0e2b0fcc0cac7218
    Disable_ACL = TRUE;   # To enable/disable ACL

    # Only export this volume to connections from this host, no cross host
mounting.
    CLIENT {
        Clients = 172.27.20.81;
        Access_type = RW;     # Access permissions
        Squash = All_Squash;  # All users are squashed to ACL for
Anonymous_Uid/Anonymous_Gid
        Anonymous_Uid = 0;    # Allow jobs to chown, chmod all files as if
they were root
        Anonymous_Gid = 0;
        Transports = "TCP" ;  # Transport protocols supported
        SecType = "sys";      # Security flavors supported
    }
}
================================================================
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to