The content of this article is about how to expand the disk capacity of Alibaba Cloud ECS cloud server. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.
Alibaba Cloud ECS Cloud Server Disk Expansion - Operation Instructions in Multi-Partition Scenarios
For Alibaba Cloud ECS cloud server disk expansion, under normal circumstances, please refer to Expanding Data Disk (Windows), Expansion Data disk (Linux) for processing;
When using the xfs file system under Linux, refer to this document for processing;
This article introduces multi-partition (that is, the data disk is divided into multiple partitions) ) operation in the scenario.
Basic rules: Since the newly expanded space is appended to the end of the virtual disk, for multi-partition scenarios, only the last partition is supported for expansion.
Expand the data disk of the Windows instance
Restart the instance, refer to the previous document, and run diskmgmt.msc in the system to open the disk management back. As shown in the figure below, right-click on the rightmost partition, then select "Extend Volume", and finally follow the wizard to expand the volume.
Expand the data disk of the Linux instance
Restart the instance and uninstall the partition to be expanded, refer to the above Document, execute fdisk
In addition, during subsequent e2fsck and resize2fs operations, you also need to specify the corresponding partition for operation:
The above is the detailed content of How to expand Alibaba Cloud ECS cloud server disk capacity. For more information, please follow other related articles on the PHP Chinese website!