After you upgrade your VPS resources, the RAM and the CPU will be automatically upgraded following a simple reboot.
However, even though a reboot upgrade the amount of disk space available, the partition on it is not automatically extended.
This part can be done manually. It is highly recommended to extend the partition while in Rescue Mode.
This guide will assume the VPS has been rebooted in this mode and there is only one partition on your VPS in ext3 or ext4. Please note that the output of the commands may slightly differ than yours. Also, if you reinstall your VPS, the partition will be automatically updated.
Connect to your VPS in Rescue Mode, enter the following command:
This will give you the current mounted partitions on your VPS, the one for the Rescue Mode and the one actually containing your data. The output will look like this:
consuming that your VPS partition /dev/sdb1 mounted. It needs to be unmounted. The command to do so is:
Next, it is hight recommended that a filesystem check is made on the partition to correct any error currently present. run the command :
After that, open the fdisk application by excute the following command:
you can see the commands available for this application by pass m parameter :
now we run the command to retrieve the partition start sector. Keep this number with you for later. It is indicated under “Start”.
Then, we will remove the partition table and create a new point using the same starting point:
The sole partition on the disk is automatically deleted. Then, create a new one.
On the line First sector, this is where you must enter the number showed earlier. In the line Last sector, you should enter the default value.
Then, you should make that partition bootable. If not, your VPS will no longer be functioning.
Save your changes and exit the application as following:
Now, we have to extend the partition by running the following :
now you have to mount the created partion again
Finally you can check your result :
Each failover IP address will need its own line in the configuration file. The configuration…
What is mdadm? The mdadm utility can be used to create and manage storage arrays…
There are several scenarios that you might need to increase or decrease your php maximum…
What is Let’s Encrypt? Let’s Encrypt is a free certificate authority provided by the Internet…
Python normally installed on all cPanel hosting server because most of Centos/red hat update system…
Usually CentOS 7 comes in a numbers of variants, For most users, there are two…