Hi,
I have two Proxmox hosts
box1 pve-manager: 2.1-1 (pve-manager/2.1/f9b0f63a)
box2 pve-manager: 2.2-24 (pve-manager/2.2/7f9cfa4c)
and i can't move the KVM (25GB in size) over to the newer box (box2).
command vzdump 101 --compress lzo --dumpdir /back completes successfully on box 1 and then i can SCP both files
vzdump-qemu-101-2012_11_12-17_03_26.log vzdump-qemu-101-2012_11_12-17_03_26.tar.lzo to box 2
but when i perform qmrestore vzdump-qemu-101-2012_11_12-17_03_26.tar.lzo 101 on box 2
im getting
extracting archive '/home/vzdump-qemu-101-2012_11_12-17_03_26.tar.lzo'
extracting 'qemu-server.conf' from archive
extracting 'vm-disk-ide0.raw' from archive
Formatting '/var/lib/vz/images/101/vm-101-disk-1.raw', fmt=raw size=32768
new volume ID is 'local:101/vm-101-disk-1.raw'
restore data to '/var/lib/vz/images/101/vm-101-disk-1.raw' (26843545600 bytes)
lzop: <stdin>: Compressed data violation
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
lzop: <stdin>: Compressed data violation
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
868219392 bytes copied, 15 s, 55.13 MiB/s
starting cleanup
temporary volume 'local:101/vm-101-disk-1.raw' sucessfuly removed
command 'zcat -f|tar xf /home/vzdump-qemu-101-2012_11_12-17_03_26.tar.lzo '--to-command=/usr/lib/qemu-server/qmextract'' failed: exit code 2
I know that there's one thread that mentions the cause for this could be that the / partition which restore uses as workspace to extract the KVM is lower than the size of KVM, but in this case KVM is 25GB and my df -h on box2 is
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/pve-root 95G 2.5G 88G 3% /
/dev/mapper/pve-data 1.7T 254G 1.5T 15% /var/lib/vz
Any ideas what could be happening over there ? Thanks in advance.
y
I have two Proxmox hosts
box1 pve-manager: 2.1-1 (pve-manager/2.1/f9b0f63a)
box2 pve-manager: 2.2-24 (pve-manager/2.2/7f9cfa4c)
and i can't move the KVM (25GB in size) over to the newer box (box2).
command vzdump 101 --compress lzo --dumpdir /back completes successfully on box 1 and then i can SCP both files
vzdump-qemu-101-2012_11_12-17_03_26.log vzdump-qemu-101-2012_11_12-17_03_26.tar.lzo to box 2
but when i perform qmrestore vzdump-qemu-101-2012_11_12-17_03_26.tar.lzo 101 on box 2
im getting
extracting archive '/home/vzdump-qemu-101-2012_11_12-17_03_26.tar.lzo'
extracting 'qemu-server.conf' from archive
extracting 'vm-disk-ide0.raw' from archive
Formatting '/var/lib/vz/images/101/vm-101-disk-1.raw', fmt=raw size=32768
new volume ID is 'local:101/vm-101-disk-1.raw'
restore data to '/var/lib/vz/images/101/vm-101-disk-1.raw' (26843545600 bytes)
lzop: <stdin>: Compressed data violation
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
lzop: <stdin>: Compressed data violation
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
868219392 bytes copied, 15 s, 55.13 MiB/s
starting cleanup
temporary volume 'local:101/vm-101-disk-1.raw' sucessfuly removed
command 'zcat -f|tar xf /home/vzdump-qemu-101-2012_11_12-17_03_26.tar.lzo '--to-command=/usr/lib/qemu-server/qmextract'' failed: exit code 2
I know that there's one thread that mentions the cause for this could be that the / partition which restore uses as workspace to extract the KVM is lower than the size of KVM, but in this case KVM is 25GB and my df -h on box2 is
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/pve-root 95G 2.5G 88G 3% /
/dev/mapper/pve-data 1.7T 254G 1.5T 15% /var/lib/vz
Any ideas what could be happening over there ? Thanks in advance.
y