Updated on 2025-06-27 GMT+08:00

Create a File System

You can create a file system and mount it to multiple servers. Then the servers can share this file system.

Prerequisites

  1. Before creating an SFS Turbo, file system, ensure that a VPC is available.

    If no VPC is available, create one by referring to section "Creating a VPC" in the Virtual Private Cloud User Guide.

  2. Before creating an SFS Turbo file system, ensure that ECSs are available and are in the created VPC.

    If no ECS is available, create an ECS by referring to "Creating an ECS" in the Elastic Cloud Server User Guide.

Procedure

  1. Log in to the management console using a cloud account.

    1. Log in to the management console and select a region and a project.
    2. Choose Storage > Scalable File Service.

  2. In the upper right corner of the page, click Create File System.
  3. Configure the parameters. Table 1 describes the parameters.

    Table 1 File system parameters

    Parameter

    Description

    Remarks

    Region

    Mandatory

    Region of the tenant. Select the region from the drop-down list in the upper left corner of the page.

    You are advised to select the region where the servers reside.

    AZ

    Mandatory

    A geographical area with an independent network and an independent power supply.

    You are advised to select the AZ where the servers reside.

    Storage Class

    Mandatory

    Includes SFS Turbo Standard and SFS Turbo Performance. For more information, see File System Types.

    Select Standard.

    NOTE:

    Once a file system is created, its storage class cannot be changed. If you want to change the storage class, you need to create another file system. Therefore, you are advised to plan the storage class carefully in advance.

    Capacity

    Maximum capacity allowed for a single file system. When the used capacity of a file system reaches this value, no more data can be written to the file system. You need to expand the file system capacity. The capacity of an SFS Turbo file system cannot be reduced. Set an appropriate file system capacity based on your service needs.

    Supported ranges:

    • Standard: 500 GB to 32 TB
    • Performance: 500 GB to 32 TB

    Protocol Type

    Mandatory

    SFS Turbo supports NFS for file system access.

    The default value is NFS.

    VPC

    Mandatory

    Select a VPC and its subnet.

    • VPC: A server cannot access file systems in a different VPC. Select the VPC to which the server belongs.
    • Subnet: A subnet is an IP address range in a VPC. In a VPC, a subnet segment must be unique. A subnet provides dedicated network resources that are logically isolated from other networks, improving network security.
    NOTE:
    • Only one VPC can be added when a file system is created. Multi-VPC file sharing can be implemented through VPC peering connection.

      For details about VPC peering connection, see section "VPC Peering Connection" in Virtual Private Cloud User Guide.

    -

    Security Group

    Mandatory

    A security group is a virtual firewall that provides secure network access control policies for file systems. You can define different access rules for a security group to protect the file systems that are added to this security group.

    When creating an SFS Turbo file system, you can select only one security group.

    You are advised to use an independent security group for an SFS Turbo file system to isolate it from service nodes.

    The security group rule configuration affects the normal access and use of SFS Turbo. For details about how to configure a security group rule, see section "Adding a Security Group Rule" in the Virtual Private Cloud User Guide. After an SFS Turbo file system is created, the system automatically enables the security group port required by the NFS protocol in the SFS Turbo file system. This ensures that the SFS Turbo file system can be accessed by your ECS and prevents file system mounting failures. The inbound ports required by the NFS protocol are ports 111, 2049, 2051, 2052, and 20048. If you need to change the enabled ports, go to the VPC console, choose Access Control > Security Groups, locate the target security group, and change the ports.

    -

    Name

    Mandatory

    User-defined name of the file system.

    The name can contain only letters, digits, and hyphens (-). It must contain more than four characters but no more than 64 characters.

  4. Click Create Now.
  5. Confirm the file system information and click Submit.
  6. Complete the creation and go back to the file system list.

    If the status of the created file system is Available, the file system is created successfully. If the status is Creation failed, contact the administrator.