You can resize both system disks and data disks as described in this topic. The size of the disks is expected to increase as your business and application data grows.
What is offline resizing?
In the offline mode, you can see that cloud disks are extended only after you restart instances by using the console or API (RebootInstance). Instances can be in the running (Running) or stopped (Stopped) state.
- You cannot resize a cloud disk for which a snapshot is being created.
- After you click Renew for Configuration Downgrade for a subscription instance, you cannot resize subscription cloud disks of the instance during the remaining period of the current billing cycle.
- You cannot resize system disks of Windows Server 2003 instances.
- If a data disk adopts the MBR partition format, you cannot resize the data disk to more than 2 TiB. If you want to resize a data disk to 2 TiB while the MBR partition format is used, we recommend that you create and attach another data disk. Format a GPT partition and copy the data in the MBR partition to the GPT partition.
- You can resize cloud disks which are in the in use (In Use) state. This occurs when instances to which the disks are attached are in the running (Running) or stopped (Stopped) state.
- You can resize basic disks, ultra disks, SSD disks, and ESSD disks.
- For Windows instances, you can only resize the NTFS file system.
Create a snapshot for data backup, to prevent data loss caused by any errors.
Perform the following steps to resize a cloud disk in the ECS console:
- Log on to the ECS console.
- In the left-side navigation pane, choose .
- Locate the cloud disk to be extended. Choose Actions column. in the
- Set the extended capacity, which must be greater than the current capacity.
- Confirm the fee, read ECS Service Terms and Product Terms of Service, and then click Confirm to Resize.
- Complete the payment.
- Restart the instance for the changes to take effect.
Related API: You can also call ResizeDisk to perform the resize operation.
The following table lists the available operations after you resize a cloud disk. However, this depends on whether the cloud disk is attached and partitioned.
|Disk status||A disk that is not attached or partitioned||A disk that is attached but not partitioned||A disk that is attached and partitioned|
If a data disk is in the available (Available) state, the extended capacity takes effect after you complete the payment. Then you can perform the following steps:
|You can perform the following steps:
Resize a partition and file system: