How to expand/add a cloud machine's hard disk

1.Select the machine to be operated through the customer backend for upgrade/downgrade operation. For specific operation methods, please refer to: Public cloud upgrade/downgrade operation: Public cloud upgrade/downgrade operation

2.For example: The current data disk is a solid-state drive (high efficiency) 100G, and its capacity is expanded from 100G to 3000G

3.Log in to the machine, currently taking centos7.9 system as an example
From the figure below, the data disk vdb has been expanded to 3T, but the mount point /home is still 100G
According to the file system format of the mount point, execute the command: xfs_growfs /home/, and check again that the expansion is complete.


Command usage scenario explanation:
Execute df -Th to check that xfs is the file system format of the mount point. Different formats require different commands.
xfs_growf   #Expanding the xfs file system
resize2fs     #Expanding the ext4 file system

4.The following are the references for adding a new hard disk to the cloud machine
Note: When adding a new hard disk, you can only add different types of hard disks. Hard disks of the same type can only be expanded, not added
As shown in the picture, add a 2000G solid-state hard drive, log in to the machine to mount it after payment 

5.Look at the figure below, you can see that the new hard disk vdc has been added and needs to be mounted

6.Create a mount point and execute the mount
mkdir /www   #Create a mount point 
mount /dev/vdc /www   #Mount the vdc disk to /www
vi /etc/fstab   #Set the boot-up automatic mount, and the writing format refers to the figure below

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Resetting password in public cloud

一.Resetting password in customer backend. 1.Find the product you want to operate in the backend...

To enable Google two-factor authentication in the public cloud

To ensure the security of user Rak Cloud management panel, Rak Cloud service panel supports...

How to log in to the public cloud control panel

1.Technical Support - Service Panel Password Reset - Select RAK Cloud Service Panel Password...

Upgrade/Downgrade operations on public cloud

Customers need to perform the upgrade/downgrade configuration themselves in the backend of...

Cloud Server Resource Usage

After logging into the customer console, click on 'Product Services - Public Cloud' to locate the...