Ever wanted to deploy an NFS file server which consumes little to no local disk? For example: sick of managing on-premise storage for file server resources that could efficiently be stored in object storage?

You can. you can keep your active data and long term archive in the same location, an object store. As users access their data, their data is cached locally to the file server, as data is no longer in active use, the data will expire the LucidLink cache and still be available, on-demand, from the same mount-point. No more moving data between active locations, to second tier storage.

To keep this configuration simple, as a general guide, we will install and configure a basic environment, in this example to simplify permissioning, etc. we will use Root. Assuming there isn't an existing NFS deployment. Please adapt as required for your environment, Linux standards and best practices.

1. Install NFS and basic dependencies and ensure it is configured to run at system start

sudo apt-get install nfs-kernel-server nfs-common portmap
systemctl enable nfs-kernel-server

2. Identify and download LucidLink client by copying the link from https://lucidlink.com/download (in this example Linux 64-bit build 1520)

wget https://s3.amazonaws.com/lucidlink-builds/latest/lin64/lucid_1.12.1520_amd64.deb

3. Install LucidLink client

sudo dpkg -i lucid_1.12.1520_amd64.deb

4. Create a link to your File space (see Getting Started Guide)

5. Once your file space has been created, is successfully initialized please proceed with launching our daemon, and linking your file space as Root - update details such as file space, shared secret and preferred mount-point in our example we will mount in /srv/Lucid

sudo su
lucid daemon & sleep 5; lucid link --fs <filespace.domain> --password <sharedsecret> --mount-point /srv/Lucid

6. Configure your NFS export, replace <host/network> with your host, network or wildcard - example(s):  host or network

edit: /etc/exports
add: /srv/Lucid <host/network>(rw,no_root_squash,sync,fsid=0)

note: "fsid=0" is required for FUSE (Filesystem in Userspace) NFS export

7. Restart NFS service

service nfs-kernel-server restart

8. Confirm your NFS export and service successfully restarted


Connect to your NFS server backed by a LucidLink mount-point and infinite S3 compatible object storage. Enjoy!