Van példakonfig a forrásban, egy egyszerűbb share ennyi:
[root@dnas root]# c /etc/ganesha/ganesha.conf
NFS_Core_Param
{
Plugins_Dir = "/usr/lib/x86_64-linux-gnu/ganesha";
}
EXPORT
{
# Export Id (mandatory, each EXPORT must have a unique Export_Id)
Export_Id = 77;
# Exported path (mandatory)
Path = /media;
# Pseudo Path (required for NFS v4)
Pseudo = /media;
# Required for access (default is None)
# Could use CLIENT blocks instead
Access_Type = RO;
# Exporting FSAL
FSAL {
Name = VFS;
}
}
A többi paraméter a doksiban le van írva: https://github.com/nfs-ganesha/nfs-ganesha/wiki/Configurationfile