[PVE-User] qmrestore tar: write error

Eneko Lacunza elacunza at binovo.es
Tue May 15 16:02:25 CEST 2012


Hi all,

I'm migrating some VMs from Proxmox 1.9 to Proxmox 2.1, using a NAS as
an intermediate backup point.

I'm receiving a "tar: write error" message while restoring the backup to
Proxmox 2.1 server, althought after that restoration seems successful,
and an fsck to the filesystem reports no errors. Any hint why this is
happening? I received that message in 5 of 6 restores so far. Restoring
from regular PVE backups also produces that error message.


Backup creation:
--------------------
root at butroe:~# vzdump --compress --storage NAS_backup_vm 109
INFO: starting new backup job: vzdump --compress --storage NAS_backup_vm
109
INFO: Starting Backup of VM 109 (qemu)
INFO: stopped
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: creating archive
'/mnt/pve/NAS_backup_vm/vzdump-qemu-109-2012_05_15-15_44_46.tgz'
INFO: adding
'/mnt/pve/NAS_backup_vm/vzdump-qemu-109-2012_05_15-15_44_46.tmp/qemu-server.conf' to archive ('qemu-server.conf')
INFO: adding '/srv/vm-images-local/images/109/vm-109-disk-2.raw' to
archive ('vm-disk-virtio0.raw')
INFO: Total bytes written: 1907992064 (4.75 MiB/s)
INFO: archive file size: 772MB
INFO: delete old backup
'/mnt/pve/NAS_backup_vm/vzdump-qemu-109-2012_04_22-04_40_49.tgz'
INFO: Finished Backup of VM 109 (00:06:26)
INFO: Backup job finished successfuly

Restore log
--------------------
root at camelot:/mnt/pve/nas-iso#
qmrestore /mnt/pve/nas-backups/vzdump-qemu-109-2012_05_15-15_44_46.tgz
109 --storage storage-local
extracting archive
'/mnt/pve/nas-backups/vzdump-qemu-109-2012_05_15-15_44_46.tgz'
extracting 'qemu-server.conf' from archive
extracting 'vm-disk-virtio0.raw' from archive
Formatting '/srv/storage-local/images/109/vm-109-disk-1.raw', fmt=raw
size=32768 
new volume ID is 'storage-local:109/vm-109-disk-1.raw'
restore data to
'/srv/storage-local/images/109/vm-109-disk-1.raw' (10737418240 bytes)
tar: write error
10737418240 bytes copied, 50 s, 204.80 MiB/s

Dump test is successful too:
----------------------------
root at camelot:/mnt/pve/nas-iso# tar
tvfz /mnt/pve/nas-backups/vzdump-qemu-109-2012_05_15-15_44_46.tgz
-rw-r--r-- root/root       270 2012-05-15 15:44 qemu-server.conf
-rw-r--r-- root/root 10737418240 2012-05-15 13:17 vm-disk-virtio0.raw


Thanks a lot
Eneko

-- 
Zuzendari Teknikoa / Director Técnico
Binovo IT Human Project, S.L.
Telf. 943575997
      943493611
Astigarraga bidea 2, planta 6 dcha., ofi. 3-2; 20180 Oiartzun (Gipuzkoa)
www.binovo.es




More information about the pve-user mailing list