Skip to content

Adding NFS Storage

This topic will tell you about pros and cons of NFS storage and will explain to you how to add it.

Each compute resource requires a storage point added to it. SolusVM 2.0 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 allow 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.

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.

To add NFS storage:

  1. Get a server and mount NFS on it.
  2. Log in to SolusVM 2.0.
  3. Go to Storage and then click Create Storage.
  4. Give your storage a name.
  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.

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

Note

If you share NFS storage between compute resources, you can’t 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.

Back to top