Adding NFS Storage

Overview

This topic covers the advantages and disadvantages of NFS storage and explains how to add it to your SolusVM infrastructure.

Each compute resource requires a storage point added to it. SolusVM supports the following storage types:

  • File Based, LVM, and ThinLVM. These storage types store data locally on the same server that was added as a compute resource.
  • NFS storage. This storage type stores data remotely on a server that is not a compute resource.

NFS is a distributed file system protocol that allows users to share remote directories over a network. With NFS, you mount a remote directory and then you can work with it as if it were a local one.

Advantages and Disadvantages

NFS storage usage has the following advantages:

  • It is more reliable to store data remotely.
  • NFS storage can have more disk space than other storage types.
  • Multiple compute resources can share one NFS storage point. It is not possible to share other storage types between compute resources.

NFS storage has one distinct disadvantage compared to other storage types: certain operations may take more time and servers may run slower, especially if network speed is not sufficient.

Adding NFS Storage

To add NFS storage:

  1. Set up NFS server.

  2. Log in to SolusVM.

  3. Go to Storage and then click Create Storage. 4.Give your storage a name.

  4. (Optional) Select a storage tag.

  5. Keep Use for New Servers enabled.

  6. Specify the following settings:

    • The local mount point, for example, /mnt/data.
    • The remote path of the following pattern: <IP address of the NFS server>:<exported directory path>, for example, 192.0.2.1:/data/share.
    • (Optional) Mount options. To separate multiple options, use commas, for example, rw,hard.
  7. Click Save.

    NFS storage configuration form

You have added NFS storage. You can now assign it to one or more compute resources.

NFS storage successfully added confirmation

Note:

You do not need to mount the NFS shared folder to each compute resource manually, because it will be mounted automatically when you attach NFS storage to the compute resource. If you share NFS storage between compute resources, you cannot stop creating servers on one particular compute resource. At the moment, disabling Use for New Servers affects all compute resources the storage was assigned to.