Bobcares

SolusVM increase disk space on a KVM VPS

by | Jul 3, 2021

Wondering how to increase disk space on a KVM VPS in SolusVM? We can help you.

Here at Bobcares, we often handle requests from our customers to fix similar SolusVm queries as a part of our Server Management Services.

Today we will see how our support engineers increase disk space on VPS.

 

How to increase disk space on a KVM VPS running on SolusVM?

Today, let us go through the steps followed by our Support Techs to increase disk space on a KVM VPS running on SolusVM

  • Firstly, log into SolusVM Admin interface.
  • Disk Space should increased in Virtual Servers > VPS > Resources tab.
  • Finally, reboot VPS to apply the change.

 

Increase disk space using GParted image:

  • Firstly, add gparted ISO into SolusVM
  • Open SolusVM > Virtual Servers > VPS > Resources, set the required HDD Space and click Update
  • Mount GParted iso to VPS at SolusVM > Virtual Servers > VPS > Settings, Change Boot Order to “(1) CDROM (2) Hard Disk”
  • Then, reboot the VPS at SolusVM > Virtual Servers > VPS > Reboot
  • Access VPS over VNC.
  • Increase the Disk space
  • In SolusVM unmount Gparted image and change Boot Order back in SolusVM > Virtual Servers > VPS > Settings
  • Finally, reboot VPS

 

Now, let us see how our Support Techs increase the disk of a VMware virtual which was set up with a 20gb disk and we will increase it by 10gb for a total final size of 30gb.

Increasing the virtual hard disk

  • Firstly, we increase the allocated disk space on the virtual machine itself.
  • This is done by right clicking the virtual machine in vSphere, selecting edit settings, and then selecting the hard disk.
  • Set hard disk of 20gb to 30gb while the virtual machine is up and running.
  • Once complete click OK, this is all that need to do in VMware for this process.

If you are not able to modify the size of the disk, the provisioned size setting is greyed out.

This can happen if the virtual machine has a snapshot in place, these will need to removed prior to making the changes to the disk.

Alternatively you may need to shut down the virtual machine if it does not allow you to add or increase disks on the fly.

If this is the case shut down and make the change, do not power the virtual machine back on at this stage as next we mount the GParted ISO.

 

How to boot into the GParted Live CD?

Once we have increased the hard disk space of the virtual machines, we need to boot into the GParted live CD to continue.

Then, right click on the virtual machine in vSphere and select “Edit Settings” to bring up the properties.

Select the CD/DVD Drive and then select your GParted ISO.

Make sure that connect at power on is ticked.

Mount GParted Live CD

You can adjust the time to delay the boot so that you have appropriate time to select that you want to boot from CD.

Then, force to boot into bios is enabled so that I can select to boot from CD on next boot.

Once the virtual machine has powered on and you have booted to the CD.

VMware boot options

Just accept the defaults by pressing enter.

Then, it will prompt to select a language, pressing enter defaults to English.

Next you select the default option 0 by pressing enter as we will work with the GUI.

Once complete you will get the GUI with GParted already open.

Next get /dev/sda1 to take up that unallocate space.

Select /dev/sda2 which is the extended partition containing the swap, you need to expand this to include the 10gb of unallocated space.

Then, select /dev/sda2 and click “Resize/Move.

Next, you need to drag the black arrow of /dev/sda2 all the way to the end of the unallocated space and click the Resize/Move button.

After that, you should see /dev/sda2 (represented by the blue box) spread out over the unallocated space.

Then, you can see the tasks down the bottom of the GParted interface and these will apply only once you click the Apply button.

Next, select /dev/sda5 which is the swap partition and select Resize/Move.

Then, just move swap all the way to the end of the /dev/sda2 space that it is in, this is done by just dragging the box to the end.

Click the Resize/Move button.

Read the warning then click OK to continue.

Select the /dev/sda2 extended partition and click Resize/Move.

Drag to the right so that only the swap space is contained and the grey unallocated space is freed, click Resize/Move once complete.

Select /dev/sda1 and click the Resize/Move button.

Drag the arrow over so that unallocated space is then consumed by /dev/sda1, then click Resize/Move.

Once this is done the /dev/sda1 partition will now use the unallocated space.

Click the apply button which will apply the changes.

Finally, reboot the virtual machine and then boot from disk rather than CD

Confirm that disk space has expanded correctly.

[Still stuck with SolusVM issue? We can help you]

Conclusion

Today, we saw steps followed by our Support Techs in order to increase the disk space.

 

 

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.