Issue restoring vma archive

Andrimont

Member
Dec 26, 2020
6
0
6
28
With Proxmox Virtual Environment 7.1-12 (all update done)
When restoring a VM, I have an error.
Is there a way to correct this ?

Code:
restore vma archive: zstd -q -d -c /var/lib/vz/dump/vzdump-qemu-101-2022_05_01-03_00_02.vma.zst | vma extract -v -r /var/tmp/vzdumptmp2474941.fifo - /var/tmp/vzdumptmp2474941
CFG: size: 425 name: qemu-server.conf
DEV: dev_id=1 size: 161061273600 devname: drive-scsi0
CTIME: Sun May  1 03:00:04 2022
Formatting '/var/lib/vz/images/101/vm-101-disk-0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off preallocation=metadata compression_type=zlib size=161061273600 lazy_refcounts=off refcount_bits=16
no lock found trying to remove 'create'  lock
error before or during data restore, some or all disks were not completely restored. VM 101 state is NOT cleaned up.
TASK ERROR: command 'set -o pipefail && zstd -q -d -c /var/lib/vz/dump/vzdump-qemu-101-2022_05_01-03_00_02.vma.zst | vma extract -v -r /var/tmp/vzdumptmp2474941.fifo - /var/tmp/vzdumptmp2474941' failed: command '/usr/bin/qemu-img create -o 'preallocation=metadata' -f qcow2 /var/lib/vz/images/101/vm-101-disk-0.qcow2 157286400K' failed: got timeout
failed: command '/usr/bin/qemu-img create -o 'preallocation=metadata' -f qcow2 /var/lib/vz/images/101/vm--disk-0.qcow2 ' failed: got timeout
 
Hi,
you can set the preallocation setting to off for the target storage, when editing the storage in the UI or setting it with pvesm.
 
  • Like
Reactions: Spirog

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!