SolusVM CentOS 7 KVM Templates Server Disk Space Incorrect

SolusVM CentOS 7 KVM Templates Server Disk Space Incorrect

 

On some SolusVM KVM CentOS 7 virtual servers once created you may encounter a space issue. Virtual servers are created with the wrong space allowance. Typically, about 2-5GB is assigned to the vm. This is because SolusVM is not resizing the space correctly on creation.

SolusVM CentOS 7 Errors

In our example, you can see we have created a CentOS 7 KVM server with 50GB of space but actually once created the server only has just under 5GB allocated to it

 

 

CentOS 7 Incorrect Disk Size

This was reported to SolusVM on 23rd February 2017 under ticket #TFR-807286. As of yet no fix has been provided for the error but we do have a work around. Login to your server as the root user and issue the below command. This will resize your disk and give you the correct space allocation.

resize2fs /dev/vda1

Your hard drive should be /dev/vda1 if it’s not just swap that for your actual hard drive which you can find by issuing fdisk -l

SolusVM CentOS 7 KVM Templates Server Disk Space Incorrect
7 5 100%

SolusVM