GANESHA-EXPORT-CONFIG(8) | NFS-Ganesha | GANESHA-EXPORT-CONFIG(8) |
ganesha-export-config - NFS Ganesha Export Configuration File
NFS-Ganesha obtains configuration data from the configuration file:
This file lists NFS-Ganesha Export block config options.
These options are all "export permissions" options, and will be repeated in the EXPORT {} and EXPORT { CLIENT {} } blocks.
These options will all be dynamically updateable.
Transports(enum list, values [UDP, TCP, RDMA], default [UDP, TCP])
Anonymous_uid(anonid, range INT32_MIN to UINT32_MAX, default -2)
Anonymous_gid(anonid, range INT32_MIN to UINT32_MAX, default -2)
PrivilegedPort(bool, default false)
Manage_Gids(bool, default false)
Each line of defaults above are synonyms
Security_Label(bool, default false)
NFS_Commit(bool, default false)
Attr_Expiration_Time(int32, range -1 to INT32_MAX, default 60)
Note that if it is not unique, and the core option mount_path_pseudo is not set true, a v3 mount using the path will ONLY be able to access the first export configured. To access other exports the Tag option would need to be used.
This option is used to place the export within the NFS v4 Pseudo Filesystem. This creates a single name space for NFS v4. Clients may mount the root of the Pseudo Filesystem and navigate to exports. Note that the Path and Tag options are not at all visible to NFS v4 clients.
Export id 0 is automatically created to provide the root and any directories necessary to navigate to exports if there is no other export specified with Pseudo = /;. Note that if an export is specified with Pseudo = /;, it need not be export id 0. Specifying such an export with FSAL { name = PSEUDO; } may be used to create a Pseudo FS with specific options. Such an export may also use other FSALs (though directories to reach exports will ONLY be automatically created on FSAL PSEUDO exports).
Take all the "export permissions" options from EXPORT_DEFAULTS. The client lists are dynamically updateable.
@name Netgroup name x.x.x.x/y IPv4 network address wildcarded If the string contains at least one ? or *
character (and is not simply "*"), the string is
used to pattern match host names. Note that [] may
also be used, but the pattern MUST have at least one
? or * hostname Match a single client (match is by IP address, all
addresses returned by getaddrinfo will match, the
getaddrinfo call is made at config parsing time) IP address Match a single client
NFS-Ganesha supports the following FSALs: Ceph Gluster GPFS Proxy RGW VFS LUSTRE
Refer to individual FSAL config file for list of config options.
ganesha-config(8) ganesha-rgw-config(8) ganesha-vfs-config(8) ganesha-lustre-config(8) ganesha-xfs-config(8) ganesha-gpfs-config(8) ganesha-9p-config(8) ganesha-proxy-config(8) ganesha-ceph-config(8)
January 20, 2021 |