LucidLink and NFS file server
Modified on: Tue, 30 Oct, 2018 at 2:02 PM
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
sudo apt-get install nfs-kernel-server nfs-common portmap
2. Identify and download LucidLink client by copying the link from https://lucidlink.com/download (in this example Linux 64-bit build 1520)
3. Install LucidLink client
sudo dpkg -i lucid_1.12.1520_amd64.deb
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
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 192.168.1.1 or network 192.168.1.1/24
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!
Did you find it helpful?
Sorry we couldn't be helpful. Help us improve this article with your feedback.