Content is empty
If you don't find the content you expect, please try another search term
Last updated:2021-07-01 14:35:58
If the storage space of an EBS volume, either a system disk or data disk, no longer meets your business requirements, you can expand the capacity of the EBS volume. This topic describes how to expand the capacity of an EBS volume without the need to suspend the KEC instance to which the EBS volume is attached. In this topic, the operating system of the KEC instance is Windows.
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 (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.
The following table describes the requirements that must be met before an online capacity expansion is performed on an EBS volume attached to a KEC instance whose operating system is Windows. | Cloud product | Limit |
---|---|---|
KEC instance | 1. The KEC instance must be in the Running state. 2. All types, including GPU types, of KEC instances support the online capacity expansion of EBS volumes. 3. During the online capacity expansion, the status of the KEC instance cannot be changed. For example, you cannot restart, shut down, or delete the KEC instance. 4. All KEC instances to which SSD volumes of EBS 3.0 or EHDD volumes can be attached support online capacity expansion. 5. The public or custom image used by the KEC instance must support the online capacity expansion of EBS volumes. For more information, see the following table. |
|
EBS volume | 1. The EBS volume for which you want to expand the capacity online must be in the In use state. 2. The EBS volume must be an SSD volume of EBS 3.0 or an EHDD volume. 3. The EBS volume must use the NTFS. 4. 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. |
Operating systems that support the online capacity expansion of EBS volumes The following table describes the Windows images that support the online capacity expansion of EBS volumes. Such Windows images include public Windows images, and custom Windows images created based on public images. | Operating system | Version |
---|---|---|
Windows 2008 | Windows Server 2008 R2 Datacenter 64-bit versions (both Chinese and English) | |
Windows 2012 | Windows Server 2012 R2 Datacenter 64-bit versions (both Chinese and English) | |
Windows 2016 | Windows Server 2016 R2 Datacenter 64-bit versions (both Chinese and English) | |
Windows 2019 | Windows Server 2019 R2 Datacenter 64-bit versions (both Chinese and English) |
Note:
If your KEC instance does not support the online capacity expansion of EBS volumes, you can use the offline capacity expansion feature. For more information, see Expand the capacity of an EBS volume offline (Windows).
Resource | Description |
---|---|
Operating system | Windows Server 2012 R2 Datacenter 64-bit Chinese version |
System disk | Drive C: uses NTFS. You want to expand the capacity of the disk from 50 GB to 70 GB. |
Data disk | Drive D: uses NTFS. You want to expand the capacity of the disk from 50 GB to 100 GB. |
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.
Note:
1. If an EBS volume qualifies for online capacity expansion but you do not select the Online expansion check box, an offline capacity expansion will be performed on the EBS volume.
2. 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 operating system of the KEC instance to which the EBS volume is attached, and allocate the expanded capacity by resizing partitions and file systems.
To resize partitions and file systems on the system disk, right-click the blank space in the Disk 0 section and select Extend Volume, as shown in the following figure.
Note: If you are resizing partitions and file systems on a data disk, right-click the blank space in the data disk section, for example, Disk 1.
If you want to allocate the expanded capacity of an EBS volume to a new partition, perform the following steps:
Pure Mode