Configuring Alluxio with NFS

Slack Docker Pulls

This guide describes how to configure Alluxio with NFS as the under storage system.

Initial Setup

In preparation for using NFS with Alluxio, have NFS volume mounted on each Alluxio nodes and are available to use.

Mounting NFS

Alluxio unifies access to different storage systems through the unified namespace feature. An NFS location can be either mounted at the root of the Alluxio namespace or at a nested directory.

Root Mount

When installing Alluxio, the under storage address should be specified in conf/


Nested Mount

An NFS location can be mounted at a nested directory in the Alluxio namespace to have unified access to multiple under storage systems. Alluxio’s Command Line Interface can be used for this purpose.

$ ./bin/alluxio fs mount <ALLUXIO PATH> <NFS PATH>

Running Alluxio with NFS

Assuming Alluxio is running, you can run a simple tests using the Alluxio Command Line Interface.

$ ./bin/alluxio runTests

If testing a nested mount point, run:

$ ./bin/alluxio runTests --directory /mnt/

After this succeeds, view NFS volume to verify the files and directories created by Alluxio. For this test, you should see files named like: