How to export a volume over NFS outside of a project on CloudFerro Cloud


Two Ubuntu servers in various projects (not in a private network) which all have a floating IP assigned.


On both servers we will create a directory /xdata, which will be shared.

On the host

eouser@host:~$ sudo apt-get update
eouser@host:~$ sudo apt-get install nfs-kernel-server
eouser@host:~$ sudo mkdir /xdata
eouser@host:~$ sudo chown nobody:nogroup /xdata
eouser@host:~$ sudo nano /etc/exports

Add the line:


Save the file.

Start the server:

eouser@host:~$ sudo systemctl restart nfs-kernel-server

For Ubuntu, start the server with this command:

eouser@host:~$ sudo service nfs-kernel-server start

Now go to

Create new security group.

Give it a name (eg. allow_nfs) and save by clicking “Create security group” button.

Click “manage rules”.

Click “add rule”


Rule: Custom TCP Rule

Direction: Ingress

Openport: Port

Port: 2049

Remote: CIDR


Click “Add”

Go to

From the drop-down menu on the right of the “Host” instance, choose “Edit Security Groups”.

Click on the “plus” sign on the “allow_nfs” group.

This will move the group from “All Security Groups” to “Instance Security Groups”.

Click “Save”.

On the Client

eouser@client:~$ sudo apt-get update
eouser@client:~$ sudo apt-get install nfs-common
eouser@client:~$ sudo mkdir /xdata
eouser@client:~$ sudo mount /xdata

You can check if the directory is mounted:

eouser@client:~$ df -h