Hi all,
I need to restore a dump backup zst of a VM which has a qcow2 format. Seems that my NFS storage is not enough fast to allocate big images, so when I try to restore it, It fails when it try to format the disk image:
The HD image has 200Gb of size.
Is there any manual method to restore the backup?
I tried to measure time to create manually the image by cli using "time" command:
there is other post with simillar problem: https://forum.proxmox.com/threads/e...k-timeout-aborting-command.65786/#post-312365
Regards
I need to restore a dump backup zst of a VM which has a qcow2 format. Seems that my NFS storage is not enough fast to allocate big images, so when I try to restore it, It fails when it try to format the disk image:
Bash:
restore vma archive: zstd -q -d -c /mnt/pve/NFScb1BK/dump/vzdump-qemu-203-2020_12_11-23_30_03.vma.zst | vma extract -v -r /var/tmp/vzdumptmp25493.fifo - /var/tmp/vzdumptmp25493
CFG: size: 425 name: qemu-server.conf
DEV: dev_id=1 size: 214748364800 devname: drive-sata0
CTIME: Fri Dec 11 23:30:06 2020
Formatting '/mnt/pve/NFScb1/images/203/vm-203-disk-0.qcow2', fmt=qcow2 cluster_size=65536 preallocation=metadata compression_type=zlib size=214748364800 lazy_refcounts=off refcount_bits=16
no lock found trying to remove 'create' lock
TASK ERROR: command 'set -o pipefail && zstd -q -d -c /mnt/pve/NFScb1BK/dump/vzdump-qemu-203-2020_12_11-23_30_03.vma.zst | vma extract -v -r /var/tmp/vzdumptmp25493.fifo - /var/tmp/vzdumptmp25493' failed: error during cfs-locked 'storage-NFScb1' operation: unable to create image: got lock timeout - aborting command
The HD image has 200Gb of size.
Is there any manual method to restore the backup?
I tried to measure time to create manually the image by cli using "time" command:
Bash:
time qemu-img create -f qcow2 -o preallocation=metadata vdisk1 200G
Formatting 'vdisk1', fmt=qcow2 cluster_size=65536 preallocation=metadata compression_type=zlib size=214748364800 lazy_refcounts=off refcount_bits=16
real 4m1.721s
user 0m2.111s
sys 0m0.658s
ls -l
total 209747456
-rw-r--r-- 1 4294967294 4294967294 214781394944 Dec 17 07:55 vdisk1
there is other post with simillar problem: https://forum.proxmox.com/threads/e...k-timeout-aborting-command.65786/#post-312365
Regards
Last edited: