Integrating Shared Storage on Cloud Server (Ubuntu/Debian)

Leave your reply


  • You have assigned a DNS or domain to your server.


If you have assigned a domain to the server, you must be able to access the domain on the Internet.

  • You have set the access rights for the desired server in the detail view of the shared storage.
  • You have downloaded the Kerberos key.
  • You wrote down the NFS path.

How to integrate shared storage on your server:

  • Make sure that the packages krb5 and nfs are installed. To install these packages, enter the following command:
apt-get install nfs-common krb5-user
  • To enable the NEED_GSSD parameter, enter the yes option in /etc/default/nfs-common in the NEED_GSSD line.
  • Open the zipped Kerberos key file.
  • Copy the files krb5.conf and krb5.keytab.
  • Insert the files into the /etc folder.


If you are using a local computer with a Windows operating system, you can quickly and conveniently transfer the files using the WinSCP program. WinSCP is a graphical open-source SFTP and FTP client for Windows. Click here to download this program.

  • To start the necessary services manually, enter the following commands:


service nfs-common restart

Debian(Ubuntu 12):

initctl restart portmap

Ubuntu 14:

initctl start gssd
  • Create the directory under which the storage is to be integrated:
mkdir /mnt/nfs


To integrate multiple shared storages, create another directory (e.g. /mnt/nfs2, etc.). Then, perform the next step for each shared storage.

  • Mount the shared storage with the option sec=krb5. For this, you need the NFS path.
mount -o sec=krb5 vid12345.nas1.lan:/vid12345 /mnt/nfs

The shared storage will be mounted.