Home  >  Article  >  Operation and Maintenance  >  How to expand Alibaba Cloud ECS cloud server disk capacity

How to expand Alibaba Cloud ECS cloud server disk capacity

坏嘻嘻
坏嘻嘻Original
2018-09-29 11:52:214269browse

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.

How to expand Alibaba Cloud ECS cloud server disk capacity

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 the system to open disk management. Then, as shown in the figure below, when deleting a disk, the number entered is the serial number of the corresponding partition; and when re-creating a partition, the number entered is also the serial number of the partition.

How to expand Alibaba Cloud ECS cloud server disk capacity

In addition, during subsequent e2fsck and resize2fs operations, you also need to specify the corresponding partition for operation:

How to expand Alibaba Cloud ECS cloud server disk capacity

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn