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
- 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.
- 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.
Logging In to the Management Console
- Visit the Huawei Cloud website at www.huaweicloud.com/eu/.
- Register an account.
Before using SFS, you need to register a HUAWEI ID. This account can be used to access all Huawei Cloud services, including SFS. If you already have an account, start from 3.
- Log in to the management console.
- In the upper right corner of the displayed page, click Console.
- Enter the username and password as prompted, and click Sign In.
- After logging in to the management console, select the region where the service is located from the drop-down list in the upper left corner of the page.
- Choose Storage > Scalable File Service to go to the SFS console.
- It is recommended that you top up your account and subscribe to SFS so that the service can be used properly. For details about how to purchase SFS, see How Do I Purchase SFS?
Procedure
- Log in to the management console using a cloud account.
- Log in to the management console and select a region and a project.
- Choose Storage > Scalable File Service.
- In the upper right corner of the page, click Create File System.
- Configure the parameters. Table 1 describes the parameters.
Table 1 File system parameters Parameter
Description
Remarks
Billing Mode
Mandatory
-
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.
Type
Mandatory
The following types are supported: Standard, Standard-Enhanced (discontinued), Performance, Performance-Enhanced (discontinued), 20 MB/s/TiB, 40 MB/s/TiB, 125 MB/s/TiB, 250 MB/s/TiB, 500 MB/s/TiB, and 1,000 MB/s/TiB.
Select Standard.
NOTE:After a file system is created, its type cannot be changed. To change the file system type, you need to create another file system. Plan the file system type 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
- Standard-Enhanced (discontinued): 10 TB to 320 TB
- Performance-Enhanced (discontinued): 10 TB to 320 TB
- 20 MB/s/TiB: 3.6 TB to 1 PB
- 40 MB/s/TiB: 1.2 TB to 1 PB
- 125 MB/s/TiB: 1.2 TB to 1 PB
- 250 MB/s/TiB: 1.2 TB to 1 PB
- 500 MB/s/TiB: 1.2 TB to 1 PB
- 1,000 MB/s/TiB: 1.2 TB to 1 PB
Protocol Type
Mandatory
SFS Turbo supports NFS for file system access.
The default value is NFS.
Bandwidth (GB/s)
Defines the cache bandwidth, which is recommended for workloads with heavy reads and infrequent writes. The higher the bandwidth, the larger the capacity required.
- If you select the 20 MB/s/TiB, 40 MB/s/TiB, 125 MB/s/TiB, 250 MB/s/TiB, 500 MB/s/TiB, or 1,000 MB/s/TiB type, this parameter and its value will show up. Bandwidth size = Capacity x Bandwidth density (type value).
- If you select the Standard, Standard-Enhanced, Performance, or Performance-Enhanced file system type, this parameter will not show up.
VPC
Mandatory
Select a VPC and a 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.
-
Security Group
Mandatory
A security group is a virtual firewall that provides 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. This ensures that the SFS Turbo file system can be accessed by your servers 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.
-
Encryption
Optional
Specifies whether a file system is encrypted. You can create a file system that is encrypted or not, but you cannot change the encryption attribute of an existing file system. If Encryption is selected, the following parameters will be displayed:
- KMS key name
KMS key name is the identifier of the key, and you can use KMS key name to specify the KMS key that is to be used for encryption. Select an existing key from the drop-down list, or click View KMS List to create a new key. For details, see Creating a Custom Key in the .
- KMS key ID
After you select a key name, the system automatically shows the key ID.
-
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.
- Click Create Now.
- Confirm the file system information and click Submit.
- 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.