Help Center> Huawei Cloud Flexus> User Guide> EVS Disks> Adding Disks to an HECS

Adding Disks to an HECS

Scenarios

Disks attached to an HECS are classified into system disks and data disks. A system disk is automatically created and attached when an HECS is created. You do not need to purchase the system disk separately.

Data disks can be purchased during or after the HECS creation. If you add a data disk when creating an HECS, the system automatically attaches the data disk to the HECS. You can also add data disks after creating an HECS.

This section describes how to add data disks.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Under Computing, click Hyper ECS.
  4. In the upper right corner of the HECS list, enter the HECS name, IP address, or ID in the search box.
  5. Locate the row containing the target HECS, click More in the Operation column, and choose Add Disk.

    The Buy Disk page is displayed.

  6. Configure parameters for the new EVS disk as prompted. Table 1 shows the description of all parameters.
    Table 1 Parameter description

    Parameter

    Sub-Parameter

    Description

    Example Value

    Billing Mode

    -

    Mandatory

    Yearly/monthly is a prepaid billing mode. You will be charged based on the usage duration that you specified. This mode provides lower prices and is ideal when the usage duration is predictable.

    Only yearly/monthly EVS disks can be added to an HECS, and the disks have the same expiration time as the HECS.

    Yearly/Monthly

    Region

    -

    Optional

    Resources are region-specific and resources in different regions cannot communicate with each other over a private network. For lower network latency and faster access to your resources, select the region nearest to your target users.

    The newly added disk is located in the same region as the HECS by default.

    -

    Disk Specifications

    Disk Type

    Mandatory

    You can select the following disk types:

    • High I/O
    • Ultra-high I/O

    For more information about EVS disk specifications and performance, see Disk Types and Performance.

    Ultra-high I/O

    Disk Size (GB)

    Mandatory

    It refers to the EVS disk size. Set the disk size.

    NOTE:

    The system shows you the remaining disk space you can purchase. If the disk size you need exceeds the upper limit, click Increase Quota to obtain a higher quota. You can purchase more disk size after the request is approved.

    100 GB

    Auto Backup

    -

    Optional

    If auto backup is enabled, the system automatically creates backups for the disk data at specified time points and deletes outdated backups according to the configured backup policy.

    When Enable is selected, a backup policy must be configured. You can either use the default backup policy or customize the policy based on your service requirements.

    Enable

    More

    Advanced Settings
    • Share
    • SCSI
    • Encryption

    Optional

    • Share

      If you select Share, a shared disk is created. A shared disk can be attached to up to 16 servers. If you do not select Share, a non-shared disk is created, and the disk can be attached to one server only.

      When you select both SCSI and Share, a shared SCSI disk is created.

      NOTE:

      The sharing attribute of a disk cannot be changed after the disk has been created.

    • SCSI

      If you select SCSI, a SCSI disk is created. Such disks allow the server OS to directly access the underlying storage media and send SCSI commands to the disks. If you do not select SCSI, a VBD disk is created. That said, the disk device type is VBD, the default device type.

      NOTE:

      The device type of a disk cannot be changed after the disk has been created.

    • Encryption

      The encryption function on this console is used for data disk encryption only.

      To use the disk encryption function, select Encryption. The displayed dialog box contains the following parameters:
      • KMS Key Name

        A KMS Key Name is displayed only after KMS access rights have been granted to EVS.

        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. You can select one of the following keys:

        Default Master Key: After the KMS access rights have been granted to EVS, the system automatically creates a Default Master Key and names it evs/default.

        CMKs: Existing or newly created CMKs. For details, see Key Management Service > Creating a CMK in the Data Encryption Workshop User Guide.

      NOTE:
      • Before you use the disk encryption function, KMS access rights need to be granted to EVS. If you have the right to grant the permission, grant the KMS access rights to EVS directly. If you do not have this permission, contact a user with the security administrator rights to grant KMS access rights to EVS, then repeat the preceding operations.
      • The encryption attribute of a disk cannot be changed after the disk is created.

    -

    Tag

    Optional

    During the EVS disk creation, you can tag the EVS resources. Tags identify cloud resources for purposes of easy categorization and quick search.

    Tags are composed of key-value pairs.
    • Key: Mandatory if the disk is going to be tagged

      A tag key can contain a maximum of 36 characters. It consists of letters, digits, underscores (_), hyphens (-), and Unicode characters (\u4E00-\u9FFF).

    • Value: Optional if the disk is going to be tagged

      A tag value can contain a maximum of 43 characters. It consists of letters, digits, underscores (_), periods (.), hyphens (-), and Unicode characters (\u4E00-\u9FFF).

    NOTE:
    • A maximum of 10 tags can be added for an EVS disk.
    • Tag keys of the same EVS disk must be unique.

    -

    Disk Name

    -

    Mandatory

    • If you create disks individually, this parameter value is used as the actual disk name.

      The name can contain a maximum of 64 characters.

    • If you create disks in a batch, this parameter value is used as the prefix of disk names, and one disk name will be composed of this parameter value and a four-digit number or letter.

      The name can contain a maximum of 59 characters.

    For example, if you create two disks and set volume for Disk Name, the EVS disk names will be volume-0001 and volume-0002.

    Quantity

    -

    The default value is set to 1, which means one disk will be created. Currently, you can create up to 100 disks at a time.

    NOTE:

    The system shows you the maximum number of disks allowed to purchase. To ensure effective resource usage, if the number of disks you need exceeds the upper limit, click Increase Quota to obtain a higher quota. You can purchase the disks you need after the request is approved.

    Disk quantity: 1

    Bound Server

    -

    After the new disk is created, the system automatically attaches the disk to the HECS.

    -

    Expires

    -

    The expiration time of the newly added EVS disks is the same as that of the HECS.

    -

  7. Click Buy Now to confirm the order details and complete the payment.

Follow-up Procedure

If the attached disk is newly created, the disk can be used only after it is initialized. For instructions about how to initialize a data disk, see Initialize an EVS Data Disk.