Image size is too large

jmztaylor

New Member
Aug 14, 2014
1
0
1
I have a fresh intall of Proxmox using the ISO Installer. I have a 5TB partition for /var/lib/vz. I am trying to create a 3TB KVM image. When doing it through the web interface I get an error. And this applies to all sizes. I tried to even create a 10GB one and it still fails with the same error.

I have checked free space and on /var/lib/vz it shows 4.5TB free.

Any advice would be appreciated

Formatting '/var/lib/vz/images/101/vm-101-disk-1.qcow2', fmt=qcow2 size=3221225472000 encryption=off cluster_size=65536 preallocation='metadata' lazy_refcounts=off
TASK ERROR: create failed - unable to create image: qemu-img: /var/lib/vz/images/101/vm-101-disk-1.qcow2: The image size is too large for file format 'qcow2' (try using a larger cluster size)
 
Try to reboot your Proxmox node then create a disk image of smaller size like 100GB to see if it works.

Did you do any manual configuration to the image file?

Also, instead of creating a giant single disk image file, try to create multiple smaller ones then use LVM to use to multiple disk images. In your case 3 1TB disk image or 6 500GB would work better.