Updated on 2023-09-07 GMT+08:00

Attaching an EVS Disk to an ECS

Scenarios

If the existing disks of an ECS fail to meet service requirements, for example, due to insufficient disk space or poor disk performance, you can attach more available EVS disks to the ECS, or create more disks (in Storage > Elastic Volume Service) and attach them to the ECS.

Prerequisites

  • EVS disks are available.

    For details about how to create an EVS disk, see Create an EVS Disk.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Under Computing, choose Elastic Cloud Server.
  4. In the search box above the upper right corner of the ECS list, enter the ECS name, IP address, or ID for search.
  5. Click the name of the target ECS.

    The page providing details about the ECS is displayed.

  6. Click the Disks tab. Then, click Attach Disk.

    The Attach Disk dialog box is displayed.

    Figure 1 Attach Disk (Xen)
  7. Select the target disk and specify the disk as the system disk or data disk
    • For KVM ECSs, you can specify a disk as a system disk or data disk but cannot specify a device name for the disk.
    • For Xen ECSs, you can specify the device name of a disk, such as /dev/vdb.
  8. Click OK.

    After the disk is attached, you can view the information about it on the Disks tab.

Follow-up Procedure

If the attached disk is newly created, the disk can be used only after it is initialized.

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