[PVE-User] qmrestore problem with 1.9

Pongrácz István pongracz.istvan at gmail.com
Wed Jun 27 12:38:30 CEST 2012


Hi All,

I have a shared storage on drbd/LVM with a VM on it. Originally it used 400GB space.

After a kernel problem I made a vzdump --suspend backup about the disk image, which seemed fine, succesfully created, its size around 380GB.

When I try to restore this image to make a backup/recovery, I am not able to restore, I got the following message.

Anyway, vgdisplay shows there are enough space and 400GB space already allocated for the image.

Do you have idea, how to restore the image and how to recover? There are some things on the image I need.

Any help are appreciate!

Thanks, István

# qmrestore --storage sharedstorage /var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar 102
INFO: restore QemuServer backup '/var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar' using ID 102
INFO: extracting 'qemu-server.conf' from archive
INFO: extracting 'vm-disk-virtio0.raw' from archive
INFO: Rounding up size to full physical extent 400.00 GB
INFO: Logical volume "vm-102-disk-1" created
INFO: new volume ID is 'sharedstorage:vm-102-disk-1'
INFO: restore data to '/dev/drbdvg/vm-102-disk-1' (429496729600 bytes)
INFO: tar: /var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar: Cannot read: Input/output error
INFO: tar: /var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar: Cannot read: Input/output error
INFO: tar: /var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar: Cannot read: Input/output error
INFO: tar: /var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar: Cannot read: Input/output error
INFO: tar: /var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar: Cannot read: Input/output error
INFO: tar: /var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar: Cannot read: Input/output error
INFO: tar: /var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar: Cannot read: Input/output error
INFO: tar: /var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar: Cannot read: Input/output error
INFO: tar: /var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar: Cannot read: Input/output error
INFO: tar: /var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar: Cannot read: Input/output error
INFO: tar: /var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar: Cannot read: Input/output error
INFO: tar: /var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar: Cannot read: Input/output error
INFO: tar: Too many errors, quitting
INFO: tar: Error is not recoverable: exiting now
INFO: 2200+168328712 records in
INFO: 824729+1 records out
INFO: 216197807616 bytes (216 GB) copied, 10744.2 s, 20.1 MB/s
INFO: starting cleanup
Logical volume "vm-102-disk-1" successfully removed
INFO: temporary volume 'sharedstorage:vm-102-disk-1' sucessfuly removed
ERROR: restore QemuServer backup '/var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar' failed - command 'tar xf '/var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar' '--to-command=/usr/sbin/qmrestore --storage sharedstorage /var/lib/vz/dump/vzdump-qemu-102-2012_06_26-16_08_04.tar --extract 102'' failed with exit code 2
 

 While dmesg shows these error messages:

attempt to access beyond end of device
dm-1: rw=0, want=29374207704, limit=1614807040
attempt to access beyond end of device
dm-1: rw=0, want=29374207704, limit=1614807040
attempt to access beyond end of device
dm-1: rw=0, want=29374207704, limit=1614807040
attempt to access beyond end of device
dm-1: rw=0, want=29374207704, limit=1614807040
attempt to access beyond end of device
dm-1: rw=0, want=29374207704, limit=1614807040
attempt to access beyond end of device
dm-1: rw=0, want=29374207704, limit=1614807040
attempt to access beyond end of device
dm-1: rw=0, want=29374207704, limit=1614807040
attempt to access beyond end of device
dm-1: rw=0, want=29374207704, limit=1614807040
attempt to access beyond end of device
dm-1: rw=0, want=29374207704, limit=1614807040
attempt to access beyond end of device
dm-1: rw=0, want=29374207704, limit=1614807040
attempt to access beyond end of device
dm-1: rw=0, want=29374207704, limit=1614807040
attempt to access beyond end of device
dm-1: rw=0, want=29374207704, limit=1614807040
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120627/aed4683b/attachment.htm>


More information about the pve-user mailing list