Cloud disk expansion scenarios

Last updated: 2020-02-11 15:04:47

PDF

Expanding the capacity of cloud system disks

For data security, CVM cloud disks cannot be expanded directly in the console. You must reinstall the system to expand the capacity of the system disks.

When reinstalling the system to adjust the system disk capacity, you can only maintain or increase the capacity, not reduce it.

Expanding the capacity of cloud data disks

Cloud disks that serve as data disks can be expanded directly in the console or via an API. Note that you can only maintain or increase the capacity, not reduce it.
Based on the mounting status of CBS data disks, you can expand their capacity by different means.

  • If the current CBS data disk can be unmounted, you can expand its capacity in CBS console or via the ResizeDisk API.
  • If the current CBS data disk cannot be unmounted, you can expand its capacity in CVM instance console or via the ResizeDisk API.

If the maximum capacity of the cloud disk cannot meet your business needs, you can try building up RAID groups or building up LVM logic volumes.

Once the data disk capacity is expanded, you must perform the following operations for the instance to recognize and use the data disk:

Before Expansion After Expansion Subsequent Operations
No file system is created. Disk capacity is less than than 2 TB. Initialize cloud disks (less than 2 TB)
Disk capacity is greater than or equal to 2 TB. Initialize cloud disks (greater than or equal to 2 TB)
File system has already been created. Disk capacity is less than 2 TB.
Disk capacity is greater than or equal to 2 TB.