Skip to content

NFS Ganesha with in-memory storage in a user mode Docker Container. For tests and experiments only.

Notifications You must be signed in to change notification settings

vasilev/docker-image-nfs-ganesha

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NFS Ganesha

A user mode NFS server implemented in a container. Supports serving NFS (v3, 4.0, 4.1, 4.1 pNFS, 4.2) and 9P.

This container uses ephemeral in-memory storage (nfs-ganesha-mem) and is intended for tests and experiments only.

Versions

  • nfs-ganesha: 3.0.3
  • nfs-ganesha-mem: 3.0.3

Environment Variables

  • GANESHA_LOGFILE: log file location
  • GANESHA_CONFIGFILE: location of ganesha.conf
  • GANESHA_OPTIONS: command line options to pass to ganesha
  • GANESHA_EPOCH: ganesha epoch value
  • GANESHA_EXPORT_ID: ganesha unique export id
  • GANESHA_EXPORT: export location
  • GANESHA_ACCESS: export access acl list
  • GANESHA_ROOT_ACCESS: export root access acl list
  • GANESHA_NFS_PROTOCOLS: nfs protocols to support
  • GANESHA_TRANSPORTS: nfs transports to support
  • GANESHA_BOOTSTRAP_CONFIG: write fresh config file on start
  • GANESHA_GRACELESS: disable the NFSv4 grace period (true by default)
  • STARTUP_SCRIPT: location of a shell script to execute on start

Environment Placement in Config File

EXPORT
{
		# Export Id (mandatory, each EXPORT must have a unique Export_Id)
		Export_Id = ${GANESHA_EXPORT_ID};

		# Exported path (mandatory)
		Path = ${GANESHA_EXPORT};

		# Pseudo Path (for NFS v4)
		Pseudo = ${GANESHA_PSEUDO_PATH};

		# Access control options
		Access_Type = RW;

		# Exporting FSAL
		FSAL {
			Name = MEM;
		}
}

Usage

For vers=4.0:

docker run -d --name nfsd -p 2049:2049 vasilev/nfs-ganesha

Credits

About

NFS Ganesha with in-memory storage in a user mode Docker Container. For tests and experiments only.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 76.9%
  • Dockerfile 23.1%