Shared filesystem for a cluster
Clusters have a shared filesystem implementation which is better suited for cluster workloads. It is based on the virtiofs protocol that allows handling terabytes of data typically needed for clusters.
Cluster filesystems allow any kind of operation compatible with normal block storage, with better speed and compatibility than traditional filesystem workloads.
Shared Filesystem Compatibility Table
Currently, cluster shared filesystems can only be used in clusters. We are working to make virtiofs shared filesystems available for instances as well.
Shared filesystem for instances (NFS)
✓ Supported
✓ Supported Can be mounted at any time
Cluster shared filesystem (virtiofs)
✕ Not supported
✓ Supported Can only be mounted during cluster creation
Creating an instant cluster
When you create an instant cluster, we automatically create a /home shared filesystem which is available on the jumphost and all worker nodes. You can also select existing shared filesystems to be attached when you are creating an instant cluster. Refer to the Deploying an Instant Cluster for more information.
Attaching existing cluster shared filesystem
Currently, it is not possible to attach cluster shared filesystem (vertiofs) to a cluster after it was created. You must attach any existing cluster shared filesystems during deployment.
Mounting and unmounting cluster shared filesystem
1. Create a directory to which you want to mount the SFS:
mkdir -p /mnt/<SFS_NAME>2. Mount the shared filesystem:
Using cluster shared filesystem in instances
You cannot attach and mount cluster shared filesystem to the instances. An alternative way is to create an NFS-based shared filesystem, attach it to the cluster, and then copy all files from the cluster shared filesystem to it. See Creating a shared filesystem for more information.
Last updated
Was this helpful?