Hello gentlemen, we have such a problem. Proxmox VE 5-4-5 It turned out that when the size of the hard disk was changed by one of the VMs, they made a mistake or a glitch happened and it turned out they made 50TB for the 50GB place. Proxmox successfully made a backup of this virtual machine, but the next day, it was necessary to roll back here and it turned out that there 50TB.
The xxx.vma.gz archive weighs 30GB. The xxx.vma file found in it weighs 40GB, but you need the xxx.qcow2 disk image itself, which lies in xxx.vma, it weighs just 50TB and you need to somehow get extract vma gives an error in the 2TB file xxx.qcow2, this ext3 restriction is possible, but on a machine with ext4, the error is the same, or the operation timeout error
when trying to restore from a vma file, the disbursement lasts exactly 10 minutes and fails with the TASK ERROR error: command 'set -o pipefail && zcat /backup/dump/vzdump-qemu-101-2019_05_24-05_54_57.vma.gz | vma extract -v -r /var/tmp/vzdumptmp7338.fifo - / var / tmp / vzdumptmp7338 'failed: unable to create image: qemu-img: /ssd1/images/101/vm-101-disk-0.qcow2: The image size is too large (try using a larger cluster size)
or
TASK ERROR: command 'set -o pipefail && zcat /backup/dump/vzdump-qemu-101-2019_05_24-05_54_57.vma.gz | vma extract -v -r /var/tmp/vzdumptmp17319.fifo - / var / tmp / vzdumptmp17319 'failed: command' / usr / bin / qemu-img create -o 'preallocation = metadata' -f qcow2 / var / lib / vz / images / 101 / vm-101-disk-0.qcow2 52449329152K 'failed: got timeout
is there any way to resize an image or cut or unzip it somehow
The xxx.vma.gz archive weighs 30GB. The xxx.vma file found in it weighs 40GB, but you need the xxx.qcow2 disk image itself, which lies in xxx.vma, it weighs just 50TB and you need to somehow get extract vma gives an error in the 2TB file xxx.qcow2, this ext3 restriction is possible, but on a machine with ext4, the error is the same, or the operation timeout error
when trying to restore from a vma file, the disbursement lasts exactly 10 minutes and fails with the TASK ERROR error: command 'set -o pipefail && zcat /backup/dump/vzdump-qemu-101-2019_05_24-05_54_57.vma.gz | vma extract -v -r /var/tmp/vzdumptmp7338.fifo - / var / tmp / vzdumptmp7338 'failed: unable to create image: qemu-img: /ssd1/images/101/vm-101-disk-0.qcow2: The image size is too large (try using a larger cluster size)
or
TASK ERROR: command 'set -o pipefail && zcat /backup/dump/vzdump-qemu-101-2019_05_24-05_54_57.vma.gz | vma extract -v -r /var/tmp/vzdumptmp17319.fifo - / var / tmp / vzdumptmp17319 'failed: command' / usr / bin / qemu-img create -o 'preallocation = metadata' -f qcow2 / var / lib / vz / images / 101 / vm-101-disk-0.qcow2 52449329152K 'failed: got timeout
is there any way to resize an image or cut or unzip it somehow