Error restoring Backup

Tecnica

New Member
Jun 4, 2020
2
0
1
34
Ao tentar restaurar um backup, informe este erro.



lzop: Ioctl inadequado para dispositivo: <stdin>
vma: falha na restauração - extensão vma curta (2595328 < 3060224)
/bin/bash: linha 1: 14202 Feito cstream -t 83886080 -- /mnt/pve/BackupNode2/dump/vzdump-qemu-120-2020_05_30-20_00_01.vma.lzo
14203 Saída 1 | Lzop -d-c -
14204 Trace/breakpoint trap | vma extract -v -r /var/tmp/vzdumptmp14200.fifo - /var/tmp/vzdumptmp14200
volume temporário 'VMS:120/vm-120-disk-0.qcow2' sucessivafuly removido
ERRO DE TAREFA: comando 'set -o pipefail && cstream -t 83886080 -- /mnt/pve/BackupNode2/dump/vzdump-qemu-120-2020_05_30-20_00_01.vma.lzo | Lzop -d-c - | vma extract -v -r /var/tmp/vzdumptmp14200.fifo - /var/tmp/vzdumptmp14200' falha: código de saída 133
 
This error happens in Proxmox version 6.1-8



lzop: Inappropriate ioctl for device: <stdin>
vma: restore failed - short vma extent (2595328 < 3060224)
/bin/bash: line 1: 14202 Done cstream -t 83886080 -- /mnt/pve/BackupNode2/dump/vzdump-qemu-120-2020_05_30-20_00_01.vma.lzo
14203 Exit 1 | lzop -d -c -
14204 Trace/breakpoint trap | vma extract -v -r /var/tmp/vzdumptmp14200.fifo - /var/tmp/vzdumptmp14200
temporary volume 'VMS:120/vm-120-disk-0.qcow2' sucessfuly removed
TASK ERROR: command 'set -o pipefail && cstream -t 83886080 -- /mnt/pve/BackupNode2/dump/vzdump-qemu-120-2020_05_30-20_00_01.vma.lzo | lzop -d -c - | vma extract -v -r /var/tmp/vzdumptmp14200.fifo - /var/tmp/vzdumptmp14200' failed: exit code 133
 
This company contacted me in Brazil.
The backup crashs on restore proccess. I do all tests as:
- Test hardware memory
- Test disks
- Check internet connectivity on both sides (Proxmox and Storage CIFS that backup was stored)
Everything seems good.
So, try using hardcoded 2 methods.
1 to recovery files and 2 to recovery VM disks. Both procedures worked.

1 - The steps to recovery files was:
- get wma.lzo file and uncompress
- uncompress wma file
- wma check - FAIL as restore procedure. So i join on next step.
- mount raw disk (losetup) - it was 3 lvm partitions. 1 to swap and 2 to lvm-root disk.
- Mount scan and mount lvm on /mnt/backup_restores
- Get all files needed on disk image to take sure we get data backuped.
- Umount raw disk

2 - Mount disk image on new VM
- Create new VM
- qm scan | to read disk
- attach disk as primary/boot
- After boot VM a lot of errors.
- Rebooted in recovery mode then Run fsck
- VM Restored.
Its done.
 

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!