Skip to content
Philippe DENIEL edited this page Oct 30, 2012 · 2 revisions

Configuring a NFS-GANESHA server for a native use of VFS

The FSAL_XFS allows you to export a VFS based filesystems with NFS-Ganesha. It relies on new syscalls introduced in kernel 2.6.39. So, to use this feature make sure you have a recent enough kernel and that "CONFIG_HANDLE=y" is set in your .config file. If not, using the related syscalls will result in getting error ENOSYS.

Compiling NFS-GANESHA with the FSAL_VFS

This is very simple, just proceed as follow:

# ./configure --with-fsal=VFS
# make
# make install

This will produce the binaries vfs.ganesha.nfsd and vfs.ganeshell

Configuring the specific stuff for FSAL_VFS

And... Well... That's all !!! There is no specific Stuff to be set in the configuration for VFS. Just export the path in a 'EXPORT' block. Nothing else is to be set. The program will check in /etc/mtab to verify if the exported path is actually within a XFS or a LUSTRE filesystem one and will get the information on it from there.

This FSAL has been checked for use with ext*. Other FS will be tested (like btrfs), but for the moment only ext* file systems are "officially" supported