You can resize cloud disks as your business and application data grows.

Scenarios

You can resize the storage capacity of a single instance in the following ways:

This topic describes the thresholds of extended disks and how to resize an existing cloud disk.

Thresholds of extended system disks

The new capacity value must be greater than the existing capacity of the system disk, but equal to or less than 500 GiB. The following table describes the thresholds of extended system disks for different images.

Image Maximum capacity (GiB)
Linux (excluding CoreOS) and FreeBSD Max {20, current capacity of the system disk} to 500
CoreOS Max {30, current capacity of the system disk} to 500
Windows Max {40, current capacity of the system disk} to 500

For example, the current capacity of the system disk of a CentOS instance is 35 GiB. After you resize the system disk, its capacity must be equal to or greater than 35 GiB, but equal to or less than 500 GiB.

Thresholds of extended data disks

The new value must be greater than the existing capacity of the data disk. The following table lists the data disk resizing limits for different cloud disk categories.

Disk type Maximum capacity (GiB)
Basic disk 2,000
Enhanced SSD (ESSD), standard SSD, or ultra disk 32,768

Resize a cloud disk

  1. Log on to the console or use the API (ResizeDisk) to resize a cloud disk.
  2. Log on to the console or use the API (RebootInstance) to restart an instance.
  3. Remote access the instance and resize the partition and file system:
    Before you resize the cloud disk After you resize the cloud disk (GiB) Resize the partition and file system
    Not partitioned < 2,048
    ≥ 2,048 Partition or format a data disk of more than 2 TiB
    Partitioned < 2,048
    ≥ 2,048