All Documents
Current Document

Content is empty

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

Documentation

Overview

Last updated:2021-07-01 14:37:12

As business rapidly grows, the capacity of an EBS volume may not meet the higher requirements brought by the growth of business and application data. In this case, you can expand the capacity of the EBS volume. EBS allows you to expand the capacity of an EBS volume in multiple ways.

Scenarios

Both system disks and data disks support capacity expansion. The following table describes the entries that allow you to expand the capacity of an EBS volume.

EBS volume type |
Capacity expansion entry ---|--- System disk | [Expand the capacity in the KEC console](https://endocs.ksyun.com/documents/6234)
[Expand the capacity in the EBS console](https://endocs.ksyun.com/documents/1053) Data disk | [Expand the capacity in the EBS console](https://endocs.ksyun.com/documents/1053)
[Expand the capacity by calling an API operation](https://docs.ksyun.com/documents/5455) ### Capacity expansion methods The following table describes the methods that you can use to expand the capacity of an EBS volume. You can choose one of the methods based on their limits and the status of the EBS volume.
Capacity expansion method|
Procedure|Limit ---|---|--- Online capacity expansion | [Expand the capacity of an EBS volume online (Linux)](https://endocs.ksyun.com/documents/37491)
[Expand the capacity of an EBS volume online (Windows)](https://endocs.ksyun.com/documents/37493)| After you expand the capacity of an EBS volume by using this method, you do not need to restart the KEC instance to which the EBS volume is attached.
Before an online capacity expansion on a system disk or data disk, make sure that the KEC instance to which the EBS volume is attached is running. For more information about other limits, see the corresponding topics. Offline capacity expansion | [Expand the capacity of an EBS volume offline (Linux)](https://endocs.ksyun.com/documents/37492)
[Expand the capacity of an EBS volume offline (Windows)](https://endocs.ksyun.com/documents/37494)| After an offline capacity expansion, you must restart the KEC instance to which the EBS volume is attached. If the EBS volume is a data disk, you can also detach the data disk from the KEC instance, expand the capacity of the data disk, and then reattach the data disk to the KEC instance. In this case, you do not need to restart the KEC instance. However, the drive letter that is assigned by the operating system to the data disk will change. We recommend that you perform an offline capacity expansion on the data disk and restart the KEC instance.
You can perform an offline capacity expansion on a system disk or data disk no matter whether the KEC instance to which the disk is attached is running or closed. For more information about other limits, see the corresponding topics.
You can perform an offline capacity expansion on a data disk only when the data disk is in the In use or To be mounted state. > **Note:**
After you expand the capacity of an EBS volume in the EBS console, the expanded capacity is not available for use yet. You must log in to the KEC instance to which the EBS volume is attached and resize partitions and file systems, so that the KEC instance can recognize and use the expanded capacity. ### Resize partitions and file systems Log in to the KEC console and resize partitions and file systems. The following table describes the methods for resizing partitions and file systems in different scenarios.
File system before the capacity expansion |
Capacity after the expansion | Method for resizing partitions and file systems ---|---|--- No file system |< 2 TB|[Format a data disk (< 2 TB)](https://endocs.ksyun.com/documents/37485) No file system |≥ 2 TB|[Format a data disk (≥ 2 TB)](https://endocs.ksyun.com/documents/37486) With file systems |< 2 TB|Windows: [Resize partitions and file systems (Windows)](https://endocs.ksyun.com/documents/37496)
Linux: [Resize MBR partitions and file systems (Linux)](https://endocs.ksyun.com/documents/37518) With file systems |≥ 2 TB|GPT partitioning: [Resize partitions and file systems (Windows)](https://endocs.ksyun.com/documents/37496) or [Resize GPT partitions and file systems (Linux)](https://endocs.ksyun.com/documents/37519)
MBR partitioning: not supported
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. ### Upper limits on capacity for EBS volumes When you expand the capacity of an EBS volume, the capacity after the expansion must be greater than the original capacity but cannot exceed the corresponding upper limit. ### Upper limits on capacity for system disks When you expand the capacity of a system disk, the capacity after the expansion must be greater than the original capacity but no more than 500 GB. The following table describes the upper limits on capacity for different types of system disks. System disk type
|Upper limit on capacity (Unit: GB)
---|--- SSD volume of EBS 3.0|500 EHDD volume|500 ### Upper limits on capacity for data disks When you expand the capacity of a data disk, the capacity after the expansion must be greater than the original capacity. The following table describes the upper limits on capacity for different types of data disks. Data disk type
|Upper limit on capacity (Unit: GB)
---|--- SSD volume of EBS 3.0|32,000 (The upper limit on capacity for online capacity expansion is 16,000 GB.) EHDD volume|32,000 (The upper limit on capacity for online capacity expansion is 16,000 GB.)
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback