Updated on 2024-11-27 GMT+08:00

Adding a Disk to an ECS

Scenarios

The disks attached to an ECS include one system disk and one or more data disks. The system disk is automatically created and attached when the ECS is created. You do not need to add it again. The data disks can be added in either of the following ways:

  • If you add data disks when creating an ECS, the data disks will be automatically attached to the ECS.
  • If you create data disks after an ECS is created, the data disks need to be manually attached to the ECS.

This section describes how to add a data disk after creating an ECS.

Procedure

  1. Log in to the management console.
  2. Under Computing, choose Elastic Cloud Server.
  3. Locate the row containing the target ECS and choose More > Manage Image/Disk/Backup > Add Disk in the Operation column.

    The page for adding a disk is displayed.

  4. Set parameters for the new EVS disk as prompted.

    For instructions about how to set EVS disk parameters, see "Create an EVS Disk" in Elastic Volume Service User Guide.

    • By default, the billing mode of the new disk is the same as that of the ECS.
    • By default, the new disk is in the same region as the ECS.
    • By default, the new disk is in the same AZ as the ECS, and the AZ of the disk cannot be changed.
    • After the new disk is created, it is attached to the ECS by default.
  5. Click Create Now.

    The system automatically switches back to the Disks tab on the ECS management console. Then, you can view the information of the new disk.

Follow-up Procedure

The system automatically attaches the new disk to the ECS, but the disk can be used only after it is initialized. To do so, log in to the ECS and initialize the disk.

For details about how to initialize a data disk, see Scenarios and Disk Partitions.