Hi guys,
I am trying to restore a VM from a USB drive via the command line and have run into an issue. The restore fails with exit code 133 every time. My target storage is LVM backed with iSCSI, plenty of space.
However, it appears that qmrestore tries to use /var/tmp as the location to extract the lzo backup. This is a problem since this server does not have much local disk space.
Is there a way I can change or specify a different location for qmrestore to use as its temp extract space?
progress 97% (read 83322404864 bytes, duration 427 sec)
progress 98% (read 84181385216 bytes, duration 429 sec)
progress 99% (read 85040365568 bytes, duration 438 sec)
progress 100% (read 85899345920 bytes, duration 461 sec)
** (process:4647): ERROR **: restore failed - vma bdrv_flush drive-virtio0 failed
/bin/bash: line 1: 4646 Done lzop -d -c /mnt/usb/vzdump-qemu-103-2016_07_26-18_34_21.vma.lzo
4647 Trace/breakpoint trap | vma extract -v -r /var/tmp/vzdumptmp4644.fifo - /var/tmp/vzdumptmp4644
Logical volume "vm-100-disk-1" successfully removed
temporary volume 'p2000_bigstore:vm-100-disk-1' sucessfuly removed
command 'lzop -d -c /mnt/usb/vzdump-qemu-103-2016_07_26-18_34_21.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp4644.fifo - /var/tmp/vzdumptmp4644' failed: exit code 133
If I try and make a symbolic link /var/tmp pointing to /mnt/usb/restore then I get the following error on restore:
** (process:8413): ERROR **: no device name mapping for drive-virtio0
/bin/bash: line 1: 8412 Broken pipe lzop -d -c /mnt/usb/vzdump-qemu-103-2016_07_26-18_34_21.vma.lzo
8413 Trace/breakpoint trap | vma extract -v -r /var/tmp/vzdumptmp8410.fifo - /var/tmp/vzdumptmp8410
Logical volume "vm-100-disk-1" successfully removed
temporary volume 'p2000_bigstore:vm-100-disk-1' sucessfuly removed
command 'lzop -d -c /mnt/usb/vzdump-qemu-103-2016_07_26-18_34_21.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp8410.fifo - /var/tmp/vzdumptmp8410' failed: exit code 133
I am trying to restore a VM from a USB drive via the command line and have run into an issue. The restore fails with exit code 133 every time. My target storage is LVM backed with iSCSI, plenty of space.
However, it appears that qmrestore tries to use /var/tmp as the location to extract the lzo backup. This is a problem since this server does not have much local disk space.
Is there a way I can change or specify a different location for qmrestore to use as its temp extract space?
progress 97% (read 83322404864 bytes, duration 427 sec)
progress 98% (read 84181385216 bytes, duration 429 sec)
progress 99% (read 85040365568 bytes, duration 438 sec)
progress 100% (read 85899345920 bytes, duration 461 sec)
** (process:4647): ERROR **: restore failed - vma bdrv_flush drive-virtio0 failed
/bin/bash: line 1: 4646 Done lzop -d -c /mnt/usb/vzdump-qemu-103-2016_07_26-18_34_21.vma.lzo
4647 Trace/breakpoint trap | vma extract -v -r /var/tmp/vzdumptmp4644.fifo - /var/tmp/vzdumptmp4644
Logical volume "vm-100-disk-1" successfully removed
temporary volume 'p2000_bigstore:vm-100-disk-1' sucessfuly removed
command 'lzop -d -c /mnt/usb/vzdump-qemu-103-2016_07_26-18_34_21.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp4644.fifo - /var/tmp/vzdumptmp4644' failed: exit code 133
If I try and make a symbolic link /var/tmp pointing to /mnt/usb/restore then I get the following error on restore:
** (process:8413): ERROR **: no device name mapping for drive-virtio0
/bin/bash: line 1: 8412 Broken pipe lzop -d -c /mnt/usb/vzdump-qemu-103-2016_07_26-18_34_21.vma.lzo
8413 Trace/breakpoint trap | vma extract -v -r /var/tmp/vzdumptmp8410.fifo - /var/tmp/vzdumptmp8410
Logical volume "vm-100-disk-1" successfully removed
temporary volume 'p2000_bigstore:vm-100-disk-1' sucessfuly removed
command 'lzop -d -c /mnt/usb/vzdump-qemu-103-2016_07_26-18_34_21.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp8410.fifo - /var/tmp/vzdumptmp8410' failed: exit code 133
Last edited: