SFS (Shared File System) is a shared NFS file system in your private network. You can mount one share on many servers at once, and a Kubernetes cluster can use it as a ReadWriteMany volume — many pods on different nodes write to the same files.
Typical uses: shared files for a website running on several servers, a folder for exchanging data, user uploads in a cluster, files processed by several machines.
You will find SFS in the panel in the "Services (SFS)" section of the left-hand menu (/portal#uslugi).
| What you get | an NFS file server (NFSv4.1) in your private network, managed by us — you don't see it as a separate machine and you don't have to administer it |
| Share | a separate NVMe or HDD disk of the size you choose, exported over NFS |
| Who has access | your servers and Kubernetes nodes in the private network (all of it or selected addresses) — nothing from the internet |
| Charges | a monthly SFS base fee + shares per GiB at the NVMe / HDD disk price |
| How many SFS | one per account, as many shares as you like |
Requirement: you have at least one paid server (SFS runs in its private network and is billed on its subscription).
SFS states:
| State | Meaning |
|---|---|
| "ordering", "being created" | SFS is being prepared — you can create shares once it is ready |
| "ready" | working, you can create shares |
| "degraded" | part of the service is being repaired automatically; shares keep working |
| "shutting down" | SFS is being removed right now |
| "error" | write to us through "Report a problem" |
In the "New share" form:
www-files. The name must be unique within your SFS.10.100.0.15/32, 10.100.0.16/32. Empty = your whole private network. You cannot change this setting after the share is created.In the "Shares" list you will see the name, class, size and access range ("Access: whole private network" or a list of addresses).
When the share is ready, the panel shows a ready-made "Mount on a server (Linux):" command below it, with a "Copy" button. It looks like this:
sudo mkdir -p /mnt/www-files && sudo mount -t nfs4 -o vers=4.1,hard 10.100.0.20:/srv/sfs/sh-abc123defg /mnt/www-files
(take the address and path from the panel — they are different for each share).
sudo apt install nfs-commonsudo dnf install nfs-utilsdf -h /mnt/www-files.Mounting at system startup — add a line to /etc/fstab (with the address and path from the panel):
10.100.0.20:/srv/sfs/sh-abc123defg /mnt/www-files nfs4 vers=4.1,hard,_netdev 0 0
and check it with sudo mount -a.
⚠️ Permissions: the export uses
root_squash— operations performed asrooton the client reach the share as the anonymous user. Write files as a regular user (the same UID on all servers) or give the folders in the share the right permissions.
💡 The
hardoption means that if the file server is briefly unavailable (e.g. during an automatic restart), operations wait and resume instead of ending in an error. Don't turn it off for data that must stay consistent.
⚠️ File locking over NFS (
flock) and SQLite databases on a share used by many machines work worse than on a local disk. Keep databases on the server's disk or in awdk-nvmevolume.
wdk-shared-nvme and wdk-shared-hdd appear in the cluster. Create a PVC with accessModes: [ReadWriteMany]:apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: uploads
spec:
accessModes: [ReadWriteMany]
storageClassName: wdk-shared-nvme
resources:
requests:
storage: 20Gi
storage or deleting the PVC), not from the panel.More about clusters: Kubernetes in WebDisk VM.
hard option wait and carry on working (the break is usually under a minute).mount hangs or ends with "access denied" — check that the server is in the same private network and that its address falls within the share's "Access" field.root_squash; write as a regular user or change the folder's permissions.Pending state — check that SFS is connected to the cluster and ready; the cluster panel shows "N volumes are waiting for an SFS share." and the last error.