For AI agents: the complete documentation index is available at https://docs.ovhcloud.com/pl/llms.txt, the full documentation bundle is available at https://docs.ovhcloud.com/pl/llms-full.txt, and this page is available as Markdown at https://docs.ovhcloud.com/pl/guides/storage-and-backup/file-storage/file-storage-service/getting-started.md.
Przejdź do treści

File Storage Service - Getting started

Pokaż jako Markdown

Learn how to set up and manage OVHcloud’s File Storage Service with your OpenStack project. This guide covers CLI setup, share creation, client access, and mounting on your VMs

Objective

OVHcloud provides a File Storage Service powered by OpenStack Manila. This service offers managed NFS shares on private networks, supporting ReadWriteMany (RWX) access across multiple instances or Kubernetes pods.

It can be accessed via the OVHcloud Console, OVHcloud API, OVHcloud CLI, Terraform, OpenStack CLI and API, and Manila CSI.

Requirements

Encryption

OVHcloud File Storage shares can be encrypted at rest using OVHcloud Managed Keys (OMK), the same mechanism used for encrypted Block Storage volumes (LUKS).

To create an encrypted share in the OVHcloud Console, turn on the Enable encryption switch in the Encryption section of the creation form, then select OVHcloud Managed Key. With the OVHcloud API, the OpenStack CLI or Manila CSI, use the standard-1az-luks type instead of standard-1az. With Terraform, add an encryption block instead (see the Terraform tab).

Info

Creating a -luks share automatically generates a dedicated encryption key. Encryption and decryption are handled transparently by the OVHcloud infrastructure — no additional configuration is required on the client side.

Info

No performance impact has been observed on encrypted File Storage shares so far.


OVHcloud Console Access

  • Direct link:
  • Navigation path: Public Cloud > Select your project > Storage > File Storage

Instructions

OVHcloud Console
OVHcloud API
OVHcloud CLI
Terraform
OpenStack CLI with the Manila plugin
Manila CSI in Kubernetes environment
Info

You can also manage the snapshots of a share in the OVHcloud Console, from its Snapshots tab. To manage them with the OVHcloud API, see the Managing Share Snapshots guide.

1. Create a share

In the left-hand menu of your Public Cloud project, click File Storage under Storage, then click Create a share.

Enter the Share name, then choose the target region in the Choose a region section (you can Filter a deployment mode).

Select the Share performance mode, turn on Enable encryption if needed, set the Share size (in GiB) and select an existing Private network (or click Create a private network), then click Create your share to complete the share creation.

2. Authorize a client VM (ACL)

Info

Retrieve the private IP address of your client VM and ensure it is on the same private network as the share.

Once the share is created, click its name in the File Storage list, then open the Access Control List (ACL) tab.

Click Add a new access, enter the private IP address or a CIDR range in Access to (e.g., 10.1.0.123 or 10.1.0.0/24), select the Access rights, then click the Confirm icon of the row:

  • Read-only: read access only
  • Read and write: full read/write access
Info

File Storage can only be used with OVHcloud IPs (Public Cloud, Managed Kubernetes Service).

To remove an access rule, click the Delete icon on the row of the ACL entry, then confirm.

3. Mount the share on your client VM

Retrieve the mount path (displayed in the Mount path field of the General information section, on the Overview tab of your share), then connect to your client VM and install the NFS utilities:

sudo apt update && sudo apt install -y nfs-common

Create a mount point and mount the share:

sudo mkdir -p /mnt/share
sudo mount -t nfs4 <NFS_MOUNT_PATH> /mnt/share

Verify the mount:

df -h /mnt/share

Save the mount configuration in fstab for easy remounting:

echo "<NFS_MOUNT_PATH> /mnt/share nfs nfsvers=4 defaults,noauto 0 0" | sudo tee -a /etc/fstab

This lets you remount the NFS share after a reboot with the mount /mnt/share command.

Go further

Join our community of users.

Czy ta strona była pomocna?