Help Center> > Getting Started> Step 2: Creating a File System

Step 2: Creating a File System

Updated at: Jul 02, 2019 11:19

You can create a file system and mount it to multiple ECSs. Then the ECSs can share the file system. You can create two types of file systems: SFS and SFS Turbo.

Prerequisites

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

    If no VPC is available, create a VPC by referring to Creating a VPC in the VPC User Guide.

  2. Before creating a file system, ensure that an ECS is available and the ECS belongs to a created VPC.

    If no ECS is available, purchase an ECS by referring to Purchasing and Logging In to a Windows ECS and Purchasing and Logging In to a Linux ECS in the Elastic Cloud Server Getting Started.

Logging In to the Management Console

  1. Open the HUAWEI CLOUD website at intl.huaweicloud.com.
  2. Register an account.

    Before using SFS, you need to register an account with HUAWEI CLOUD. This account can be used to access all Huawei cloud services, including SFS. If you have an account, start from 3.

    1. In the upper right corner of the page, click Register.
    2. Complete the registration as instructed.

      After you have successfully registered, the system automatically redirects you to your personal information page.

  3. Log in to the management console.

    1. In the upper right corner of the displayed page, click Console.
    2. Enter the username and password as prompted, and click Log In.

  4. After logging in to the management console, select the region where the service is located from the drop-down list box in the upper left corner of the page.
  5. Choose Service List > Storage > Scalable File Service. The SFS Console page is displayed.
  6. 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, see How to Purchase SFS?

Creating an SFS File System

  1. In the upper right corner of the page, click Create File System.
  2. set the parameters as described in Table 1.

    Table 1 Parameter description

    Parameter

    Description

    Remarks

    File System Type

    Select SFS or SFS Turbo.

    Select SFS.

    Region

    This parameter is mandatory.

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

    You are advised to select the same region as the ECS.

    Name

    User-defined name of the file system. If you create more than one file system, a name suffix is added to each file system name. For example, if you set the name to sfs-name for two new file systems, the two file system names will be sfs-name-001 and sfs-name-002.

    The value can contain only letters, digits, underscores (_), and hyphens (-). When creating a single file system, the value can contain a maximum of 255 characters. When creating file systems in batches, enter 1 to 251 characters.

    AZ

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

    You are advised to select the same AZ as that of the ECS.

    Type

    SFS supports NFS (only the NFSv3 protocol currently) for file system access.

    -

    VPC

    This parameter is mandatory.

    An ECS cannot access file systems in a different VPC. Select the VPC to which the ECS belongs.

    NOTE:
    • By default, all ECSs in a VPC have the same rights. You can modify the VPC in the future.
    • Upon creation, only one VPC can be added for each file system. After a file system is created, you can configure multiple VPCs by referring to Configuring VPCs for the SFS file system.

    Click View VPC to view existing VPCs or apply for new ones.

    Maximum Capacity

    Maximum capacity of 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.

    Its value ranges from 1 GB to 512,000 GB.

    Quantity

    Number of file systems to be created.

    Each cloud account can have a total of 512,000 GB for its file systems. Each cloud account can create a maximum of 10 file systems, one by one or in a batch.

    If the quantity or total capacity of the file systems you are creating exceeds the upper limit, click Increase quota to apply for a higher quota.

  3. Click Create Now after the configuration is complete.
  4. Confirm the file system information and click Submit.
  5. 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.

Creating an SFS Turbo File System

  1. In the upper right corner of the page, click Create File System.
  2. Set the parametersin the dialog box shown in Figure 1. Table 2 describes the parameters.

    Figure 1 Creating an SFS Turbo file system
    Table 2 Parameter description

    Parameter

    Description

    Remarks

    File System Type

    This parameter is mandatory.

    Select SFS or SFS Turbo.

    Select SFS Turbo.

    Region

    This parameter is mandatory.

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

    You are advised to select the same region as that of the ECS.

    AZ

    This parameter is mandatory.

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

    You are advised to select the same AZ as that of the ECS.

    Type

    This parameter is mandatory.

    SFS Turbo supports NFS for file system access.

    The default value is NFS.

    Storage Class

    This parameter is mandatory.

    Includes SFS Turbo Standard and SFS Turbo Performance. For details about the features and application scenarios of each storage class, see File System Types.

    The default value is Standard.

    Disk Capacity (GB)

    Maximum capacity of 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.

    Support Scope:

    • SFS Turbo Standard: 500 GB to 32 TB
    • SFS Turbo Performance: 500 GB to 32 TB if you purchase monthly/yearly packages; 200 GB to 32 TB if you choose pay-per-use billing mode.

    VPC

    This parameter is mandatory.

    Select a VPC and its subnet.

    • VPC: An ECS cannot access file systems in a different VPC. Select the VPC to which the ECS 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:

    Upon creation, only one VPC can be added for each file system. Multi-VPC and cross-VPC file sharing can be implemented through VPC peering connection.

    For details about VPC peering connection, see VPC Peering Connection.

    -

    Security Group

    This parameter is 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, you can select only one security group.

    You can directly select the default security group.

    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 Adding a Security Group Rule. To ensure that the SFS Turbo can be accessed by your ECS, you need to add the corresponding inbound and outbound access rules to bypass the ports required by the NFS protocol for the SFS Turbo when creating a security group. Otherwise, the file system cannot be mounted. The inbound port numbers required by the NFS protocol are 111, 445, 2049, 2051, 2052, and 20048.

    -

    Automatic Backup

    The parameter is optional.

    SFS Turbo provides the automatic backup function. You can back up data of the file system by setting the backup policy. After a backup policy is enabled, the system automatically backs up file system data at the specified time.

    indicates that the backup policy is turned on. indicates that the policy is turned off. After a backup policy is enabled, you need to set the backup start time and backup period. You can create backup policies based on service requirements.

    Table 3 describes the parameter settings.

    -

    Name

    This parameter is mandatory.

    User-defined name of the file system.

    The value can contain only letters, digits, and hyphens (-). The name of the created file system must contain more than four characters and less than or equal to 64 characters.

    Table 3 describes the parameters for configuring a backup policy.

    Table 3 Backup policy parameter description

    Parameter

    Description

    Remarks

    Automatic Backup

    Specifies whether the backup policy is enabled.

    By default, automatic backup is disabled.

    Backup Start Time

    This parameter is valid only when Automatic Backup is enabled. The backup start time must be an hour on the hour. After the preset time elapses, the system automatically creates a backup task within one hour.

    For example, 04:00:00

    Backup Cycle

    This parameter is valid only when Automatic Backup is enabled. Set the backup period based on service requirements.

    For example, select all.

  3. Click Create Now after the configuration is complete.
  4. Confirm the file system information and click Submit.
  5. Complete the purchase order and the 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.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel