Problems at restoring a VM

lumox

Member
May 29, 2020
111
5
23
42
Hi,
I had a problem with my zfspool, and had to replace a disk. I took that chance to turn my 3-disks zfspool from RAIDZ into "mirror" with only two disks (it's a just little home lab I use to practise). it seems that everything went well, and I started restoring my VMs from my backups. The first one ( a pfsense VM) was ok, but I am having some problems at restong the second one ( a Window VM). I tried to restore it in several ways (from my backup directory once I had deleted the VM old reference as well ) but I failed.
I got this error message


Code:
restore vma archive: zstd -q -d -c /mnt/pve/BackVMs/dump/vzdump-qemu-101-2020_11_25-08_51_45.vma.zst | vma extract -v -r /var/tmp/vzdumptmp3192.fifo - /var/tmp/vzdumptmp3192
CFG: size: 450 name: qemu-server.conf
DEV: dev_id=1 size: 32212254720 devname: drive-scsi0
CTIME: Wed Nov 25 08:51:48 2020
new volume ID is 'mypool:vm-101-disk-0'
map 'drive-scsi0' to '/dev/zvol/mypool/vm-101-disk-0' (write zeros = 0)
_25-08_51_45.vma.zst : Decoding error (36) : Corrupted block detected
vma: restore failed - short vma extent (1258505 < 3801600)
/bin/bash: line 1:  3194 Exit 1                  zstd -q -d -c /mnt/pve/BackVMs/dump/vzdump-qemu-101-2020_11_25-08_51_45.vma.zst
      3195 Trace/breakpoint trap   | vma extract -v -r /var/tmp/vzdumptmp3192.fifo - /var/tmp/vzdumptmp3192
temporary volume 'mypool:vm-101-disk-0' sucessfuly removed
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 /mnt/pve/BackVMs/dump/vzdump-qemu-101-2020_11_25-08_51_45.vma.zst | vma extract -v -r /var/tmp/vzdumptmp3192.fifo - /var/tmp/vzdumptmp3192' failed: exit code 133

this is my zpool status:
Code:
root@pve:~# zpool status
  pool: mypool
 state: ONLINE
config:

        NAME                                            STATE     READ WRITE CKSUM
        mypool                                          ONLINE       0     0     0
          mirror-0                                      ONLINE       0     0     0
            ata-WDC_WD5000BPVT-22HXZT3_WD-WXA1A91V3388  ONLINE       0     0     0
            ata-ST500LM012_HN-M500MBB_S2R7J9BF101665    ONLINE       0     0     0

errors: No known data errors


Could you please help me figure it out and fix it?
Thanks