All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

Expand the capacity of an EBS volume in the EBS console

Last updated:2021-07-21 16:00:11

Scenarios

EBS volumes are scalable storage devices. You can expand the capacity of an existing EBS volume at any time to increase its storage space without affecting the data on the EBS volume. After you expand the capacity of an EBS volume in the EBS console, you need to allocate the expanded capacity to partitions. The partitions can be existing partitions or partitions that are newly created and formatted. Then, resize the file systems of the partitions, so that the expanded capacity can be recognized. For more information, see Resize partitions and file systems (Linux) or Resize partitions and file systems (Windows).

Note:
The maximum capacity of an EBS volume that uses MBR partitioning is 2 TB. If the capacity exceeds this limit, the excess capacity cannot be used. You may need to expand the capacity of an EBS volume that uses MBR partitioning to more than 2 TB. In this case, we recommend that you create and attach a data disk that uses GPT partitioning and then copy the data to the new disk.

Prerequisites

Cloud product Limit
EBS volume 1. The EBS volume for which you want to expand the capacity must be in the In use or To be mounted state.
2. The EBS volume must be an SSD volume of EBS 3.0 or an EHDD volume.
3. The capacity after the expansion must be greater than the original capacity but cannot exceed the corresponding upper limit. For more information about the upper limits on capacity, see Overview.

Expand the capacity of a data disk

Note: To prevent data loss caused by misoperations, we recommend that you create a snapshot to back up data before you expand the capacity of an EBS volume.

  1. Log in to the EBS console.
  2. On the EBS tab, find the EBS volume for which you want to expand the capacity and choose More > Capacity Expansion in the Operation column. image.png
  3. In the Capacity Expansion dialog box, read the instructions, select the Online expansion check box, and then set the Capacity parameter.
    The capacity after the expansion must be greater than the original capacity.

    Note:
    1. If a data disk qualifies for online capacity expansion but you do not select the Online expansion check box, an offline capacity expansion will be performed on the data disk.
    2. After you perform an offline capacity expansion on a data disk in the To be mounted state and attach the disk to a KEC instance, the expanded capacity can be immediately recognized.

    The following figure shows how to configure an online capacity expansion. image.png The following figure shows how to configure an offline capacity expansion. image.png

  4. On the Confirm Order page, click Submit Order. Then, complete the payment.

    Note:
    After you expand the capacity of a data disk in the EBS console, the expanded capacity is not available for use yet. You must log in to the operating system of the KEC instance to which the disk is attached, and allocate the expanded capacity by resizing partitions and file systems.

    Expand the capacity of a system disk

Note: To prevent data loss caused by misoperations, we recommend that you create a snapshot to back up data before you expand the capacity of an EBS volume.

  1. Log in to the EBS console.
  2. On the EBS tab, find the EBS volume for which you want to expand the capacity and choose More > Capacity Expansion in the Operation column. image.png
  3. In the Capacity Expansion dialog box, read the instructions, select the Online expansion check box, and then set the Capacity parameter.
    The capacity after the expansion must be greater than the original capacity.

    Note:
    If a system disk qualifies for online capacity expansion but you do not select the Online expansion check box, an offline capacity expansion will be performed on the system disk.

    The following figure shows how to configure an online capacity expansion. image.png The following figure shows how to configure an offline capacity expansion. image.png

  4. On the Confirm Order page, click Submit Order. Then, complete the payment.

    Note:
    After you expand the capacity of a system disk in the EBS console, the expanded capacity is not available for use yet. You must log in to the operating system of the KEC instance to which the disk is attached, and allocate the expanded capacity by resizing partitions and file systems.

On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback