Updated on 2024-10-15 GMT+08:00

SFS Turbo Volumes

You can mount SFS Turbo file systems to containers. SFS Turbo volumes are fast, on-demand, and scalable. They are suitable for DevOps, containerized microservices, and enterprise office applications.

Constraints

  • SFS Turbo file systems to be mounted are billed on a pay-per-use basis. For pricing details, see SFS Turbo Billing.
  • If an SFS Turbo file system is in use, the VPC where the file system is deployed cannot be modified. If the VPC is modified, the containers in CCI will not be able to access the file system.
  • If an SFS Turbo file system is deleted, containers in CCI will become unavailable.

Importing SFS Turbo File Systems

CCI allows you to import existing SFS Turbo file systems.

  1. Log in to the CCI console. In the navigation pane on the left, choose Storage > SFS Turbo. On the page displayed, select a namespace and click Import.
  2. Select one or more SFS Turbo file systems that you want to import, and click Import.

    If no SFS Turbo volumes are available, click create an SFS Turbo file system to create one.

    After you create the SFS Turbo file system, go back to the Import SFS Turbo File System page on the CCI console. Then, select the created SFS Turbo file system and click Import.

    Figure 1 Importing SFS Turbo file systems

  3. Specify the mount option for the SFS Turbo volume to ensure real-time data access. If you mount an SFS Turbo volume to more than one pod, there will be a delay in pod metadata access due to local caching in pods.

    You can set mount options for specific SFS Turbo volumes. Currently, only the noac mount option is supported. You can use this option to disable local file and directory caching, and allow pods to access data from the SFS Turbo volume in real time.

    The mount option is valid only for SFS Turbo volumes created in the current namespace.

    Figure 2 Setting the mount option for an SFS Turbo volume

Using SFS Turbo Volumes

After you select a container image when you create a Deployment or create a job, expand Advanced Settings > Storage, click the SFS Turbo Volumes tab, and click Add SFS Turbo Volume.

Figure 3 Adding an SFS Turbo volume
  • When an SFS Turbo file system is being created, an independent VM will be created, which will take a long time. Therefore, you are advised to select existing SFS Turbo volumes.
  • subPath is a sub-directory in the root path of the SFS Turbo file system. If such a sub-directory does not exist, it is automatically created in the SFS Turbo file system. Note that subPath must be a relative path.

Unbinding SFS Turbo Volumes

If you no longer require an imported SFS Turbo volume, you can unbind it from the SFS Turbo file system. After you unbind an SFS Turbo file system, you can no longer use it for your workloads.

If you have mounted an SFS Turbo volume to a workload, you cannot unbind it from the SFS Turbo file system.

  1. Log in to the CCI console. In the navigation pane on the left, choose Storage > SFS Turbo. In the SFS Turbo volume list, click Unbind next to the target volume.
  2. Read the message that is displayed and click Yes.