VPS creation process is running without --no-sparse option even if checkbox No Sparse Copying is enabled for a linux template in SolusVM

Have more questions? Submit a request

Applicable to:

  • SolusVM

Symptoms 

VPS creation process is running without --no-sparse option even if checkbox No Sparse Copying is enabled for a linux template at Media > List Templates > edit page of the affected template.

Cause

Bug SVM-1700 which was fixed in SolusVM version 1.22.04

Resolution

Update SolusVM to the latest mainline version.

If the update is not the option at the moment use the below workaround:

Workaround
  1. Create blank VPS (template=none) 
  2. Change to virtio disk device driver, rewrite config, poweroff
  3. Connect to slave server via SSH and execute the following:

    # virt-resize --no-sparse -d --resize-force /dev/sda1=2048M --expand /dev/sda2 /home/solusvm/kvm/template/{template} {path_to_vps_lvm}

  4. boot the VPS in SolusVM, let initial first boot process complete.
  5. SolusVM password change
  6. SolusVM reconfigure

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.