nav-img
Advanced

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 create it again. The data disks can be added in either of the following ways:

  • During the ECS creation. Data disks added in this way are automatically attached to the ECS.
  • After the ECS is created. Data disks added in this way must be manually attached to the ECS.

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

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Under Storage, click Elastic Volume Service.
  4. On the Disks page, click Create Disk.
  5. 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.

    Note
    • 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.
  6. 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.