.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "GANESHA-CONFIG" "8" "Apr 23, 2024" "" "NFS-Ganesha" .SH NAME ganesha-config \- NFS Ganesha Configuration File .SH SYNOPSIS .nf /etc/ganesha/ganesha.conf .fi .sp .SH DESCRIPTION .sp NFS\-Ganesha obtains configuration data from the configuration file: .INDENT 0.0 .INDENT 3.5 /etc/ganesha/ganesha.conf .UNINDENT .UNINDENT .sp The configuration file consists of following parts: .SS Comments .sp Empty lines and lines starting with \(aq#\(aq are comments.: .INDENT 0.0 .INDENT 3.5 .sp .EX # This whole line is a comment Protocol = TCP; # The rest of this line is a comment .EE .UNINDENT .UNINDENT .SS Blocks .sp Related options are grouped together into \(dqblocks\(dq. A block is a name followed by parameters enclosed between \(dq{\(dq and \(dq}\(dq. A block can contain other sub blocks as well.: .INDENT 0.0 .INDENT 3.5 .sp .EX EXPORT { Export_ID = 1; FSAL { Name = VFS: } } .EE .UNINDENT .UNINDENT .sp NOTE: FSAL is a sub block. Refer to \fBBLOCKS\fP section for list of blocks and options. .SS Options .sp Configuration options can be of following types. .sp 1. \fBNumeric.\fP Numeric options can be defined in octal, decimal, or hexadecimal. The format follows ANSI C syntax. eg.: .INDENT 0.0 .INDENT 3.5 .sp .EX mode = 0755; # This is octal 0755, 493 (decimal) .EE .UNINDENT .UNINDENT .sp Numeric values can also be negated or logical NOT\(aqd. eg.: .INDENT 0.0 .INDENT 3.5 .sp .EX anonymousuid = \-2; # this is a negative mask = ~0xff; # Equivalent to 0xffffff00 (for 32 bit integers) .EE .UNINDENT .UNINDENT .sp 2. \fBBoolean.\fP Possible values are true, false, yes and no. 1 and 0 are not acceptable. .sp 3. \fBList.\fP The option can contain a list of possible applicable values. Protocols = 3, 4, 9p; .SS Including other config files .sp Additional files can be referenced in a configuration using \(aq%include\(aq or \(aq%dir\(aq or \(aq%url\(aq directives.: .INDENT 0.0 .INDENT 3.5 .sp .EX %include %dir %url .EE .UNINDENT .UNINDENT .sp The included file is inserted into the configuration text in place of the %include or %dir or %url line. Sub\-inclusions may be to any depth. Filenames or directory or URLs may optionally use \(aq\(dq\(aq: .INDENT 0.0 .INDENT 3.5 .sp .EX %include base.conf %include \(dqbase.conf\(dq %dir /etc/ganesha/ganesha_config/ %dir \(dq/etc/ganesha/ganesha_config/\(dq %url rados://mypool/mynamespace/myobject %url \(dqrados://mypool/mynamespace/myobject\(dq %url rados://mypool/myobject %url \(dqrados://mypool/myobject\(dq .EE .UNINDENT .UNINDENT .sp In the case of rados:// URLs, providing a two\-component URL indicates that the default namespace should be used. .SS Reloading Config .sp A config reload can be triggered by sending the ganesha.nfsd process a SIGHUP. Not all config options may be changed with reload, those that can will be documented in the individual sections. .sp In general, currently dynamic config is supported for EXPORT and LOG options. .SH BLOCKS .sp NFS\-Ganesha supports the following blocks: .SS EXPORT {} .sp Along with its configuration options, the \fBEXPORT\fP block supports \fBFSAL\fP and \fBCLIENT\fP sub\-blocks. See \fI\%ganesha\-export\-config\fP(8) for usage of this block and its sub\-blocks. .SS EXPORT_DEFAULTS {} .sp Refer to \fI\%ganesha\-export\-config\fP(8) for usage .SS MDCACHE {} .sp Refer to \fI\%ganesha\-cache\-config\fP(8) for usage .SS NFS_CORE_PARAM {} .sp Refer to \fI\%ganesha\-core\-config\fP(8) for usage .SS NFS_IP_NAME {} .sp Refer to \fI\%ganesha\-core\-config\fP(8) for usage .SS NFS_KRB5 {} .sp Refer to \fI\%ganesha\-core\-config\fP(8) for usage .SS NFSv4 {} .sp Refer to \fI\%ganesha\-core\-config\fP(8) for usage .SS CEPH {} .sp Refer to \fI\%ganesha\-ceph\-config\fP(8) for usage .SS 9P {} .sp Refer to \fI\%ganesha\-9p\-config\fP(8) for usage .SS GLUSTER {} .sp Refer to \fI\%ganesha\-gluster\-config\fP(8) for usage .SS GPFS {} .sp Refer to \fI\%ganesha\-gpfs\-config\fP(8) for usage .SS LOG {} .sp Refer to \fI\%ganesha\-log\-config\fP(8) for usage .sp 1.**LOG { FACILITY {} }** 2.**LOG { FORMAT {} }** .SS PROXY_V4 {} .sp Refer to \fI\%ganesha\-proxy\-config\fP(8) for usage .SS PROXY_V3 {} .sp Refer to \fI\%ganesha\-proxy\-v3\-config\fP(8) for usage .SS RGW {} .sp Refer to \fI\%ganesha\-rgw\-config\fP(8) for usage .SS VFS {} .sp Refer to \fI\%ganesha\-vfs\-config\fP(8) for usage .SS XFS {} .sp Refer to \fI\%ganesha\-xfs\-config\fP(8) for usage .SH EXAMPLE .sp Along with \(dqganesha.conf\(dq, for each installed FSAL, a sample config file is added at: .nf /etc/ganesha .fi .sp .SH SEE ALSO .sp \fI\%ganesha\-log\-config\fP(8) \fI\%ganesha\-rgw\-config\fP(8) \fI\%ganesha\-vfs\-config\fP(8) \fI\%ganesha\-lustre\-config\fP(8) \fI\%ganesha\-xfs\-config\fP(8) \fI\%ganesha\-gpfs\-config\fP(8) \fI\%ganesha\-gluster\-config\fP(8) \fI\%ganesha\-9p\-config\fP(8) ganesha\-proxy\-config(8) \fI\%ganesha\-proxy\-v3\-config\fP(8) \fI\%ganesha\-ceph\-config\fP(8) \fI\%ganesha\-core\-config\fP(8) \fI\%ganesha\-export\-config\fP(8) .\" Generated by docutils manpage writer. .