How To Set Up NFS Ganesha

This guide covers the steps to set up NFS Ganesha. You can use NFS Ganesha instead of the kernel NFS server.

Steps

  1. Install the following RPMs
jemalloc-3.6.0-1.el7.x86_64.rpm
nfs-ganesha-2.2.0-0.fc20.x86_64.rpm
nfs-ganesha-vfs-2.2.0-0.fc20.x86_64.rpm
  1. In /etc/ganesha/ganesha.conf, change Path and Pseudo from nonexistent to <your objectivefs directory> For more options, see config options

  2. To start:

# systemctl start nfs-ganesha
  1. To verify that the export works:
# showmount -e localhost
  1. To mount:
# mount.nfs -o <options> <ip addr>:<source directory> <target directory>

Example: For NFS v3 export on localhost (assuming /ofs is exported and /nfs is an empty target directory):

# mount.nfs -o vers=3 127.0.0.1:/ofs /nfs

Reference


by ObjectiveFS staff, August 28, 2016
ObjectiveFS is a shared file system for OS X and Linux that automatically scales and gives you scalable cloud storage. If you have questions or article idea suggestions, please email us at support@objectivefs.com