Unable to create a custom Linux KVM template in SolusVM: File too large

Applicable to:

  • SolusVM

Symptoms

  • Unable to create a custom Linux KVM template following the article - the following error occures on the fifth step:

    # /scripts/kvmtemplate --mode=package --vmid=kvm123 --generation=2
    ...
    virt-sparsify: error: libguestfs error: zero_free_space: write:
    /sysroot//ny06qyxe.toi: File too large

  • The Source VPS has more than 50 GB of HDD space

Cause

The Source VPS disk size is too big, the recommended disk size for the Linux template is 10-15 GB.

Resolution

  1. Log in to the KVM Node via SSH where the template is going to be created.
  2. Create the Source VPS with a smaller size (10-15 GB).
  3. Re-create a template using the article.

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.