Expanding the Local Disks of a Disk-intensive ECS

Scenarios

Disk-intensive ECSs can use both local disks and EVS disks to store data. Local disks are generally used to store service data and feature higher throughput than EVS disks.

Disk-intensive ECSs do not support specifications modification. When the capacity of local disks is insufficient, you can create a new disk-intensive ECS with higher specifications for capacity expansion. The data stored in the original ECS can be migrated to the new ECS through EVS.

Procedure

  1. Create an EVS disk according to the volume of data to be migrated.

  2. Attach the EVS disk created in 1 to the disk-intensive ECS for which you want to expand the capacity.

  3. Back up local disk data.

    Back up the data stored in the local disks to the EVS disk that is newly attached to the disk-intensive ECS.

    • For Windows ECSs, directly copy the data to be backed up to the EVS disk.

    • For Linux ECSs, run the cp command to copy the data to be backed up to the EVS disk.

  4. Detach the EVS disk from the ECS.

    1. On the Elastic Cloud Server page, select this disk-intensive ECS and ensure that it has been stopped.

      If the ECS is running, choose More > Stop to stop the ECS.

    2. Click the name of the disk-intensive ECS to go to the ECS details page.

    3. Click the Disks tab. Locate the row containing the EVS data disk and click Detach to detach the disk from the ECS.

  5. Prepare a new disk-intensive ECS with higher specifications and larger capacity than the original one.

    Ensure that the local disk capacity can meet your requirements.

  6. Attach the EVS disk to the new disk-intensive ECS.

    On the Elastic Cloud Server page, click the name of the ECS described in step 5 to view details.

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

    In the displayed dialog box, select the EVS disk detached in step 4 and the device name.

  8. Migrate the data from the EVS disk in 7 to the local disks of the new disk-intensive ECS.