Hi to all
To PVE Team, and to anyone who can help me:
With CLI for KVM I use vzdump and qmrestore on a NFS storage into of PVE (ISO installer)
The VM have a HDD with 250 GB. into a image vm-110-disk-1.raw format in /var/lib/vz/images/110
All Hosts always have installed PVE 2.2 (ISO installer) with the latest updates and join into the PVE cluster. before starting to do something
The messages are:
vzdump:
Nov 10 02:03:10 INFO: Starting Backup of VM 110 (qemu)
Nov 10 02:03:10 INFO: status = stopped
Nov 10 02:03:11 INFO: backup mode: stop
Nov 10 02:03:11 INFO: ionice priority: 7
Nov 10 02:03:11 INFO: creating archive '/mnt/temp/kvm4/vzdump-qemu-110-2012_11_10-02_03_10.tar.gz'
Nov 10 02:03:11 INFO: adding '/mnt/temp/kvm4/vzdump-qemu-110-2012_11_10-02_03_10.tmp/qemu-server.conf' to archive ('qemu-server.conf')
Nov 10 02:03:11 INFO: adding '/var/lib/vz/images/110/vm-110-disk-1.raw' to archive ('vm-disk-virtio0.raw')
Nov 10 04:18:16 INFO: Total bytes written: 268435458560 (31.59 MiB/s)
Nov 10 04:18:17 INFO: archive file size: 28.47GB
Nov 10 04:18:17 INFO: Finished Backup of VM 110 (02:15:07)
=> so far it's all good
After I install PVE (ISO installer) on the same host, run updates and join into the PVE cluster.
=> so far it's all good
Then i execute by CLI the command qmrestore with their respective parameters:
qmrestore:
extracting archive '/mnt/temp/kvm4/vzdump-qemu-110-2012_11_10-02_03_10.tar.gz'
extracting 'qemu-server.conf' from archive
extracting 'vm-disk-virtio0.raw' from archive
Formatting '/var/lib/vz/images/110/vm-110-disk-1.raw', fmt=raw size=32768
new volume ID is 'local:110/vm-110-disk-1.raw'
restore data to '/var/lib/vz/images/110/vm-110-disk-1.raw' (268435456000 bytes)
tar: write error <---- why error???
268435456000 bytes copied, 16117 s, 15.88 MiB/s
TASK OK <---- why OK????
My PVE configuration (both nodes):
pve-manager: 2.2-26 (pve-manager/2.2/c1614c8c)
running kernel: 2.6.32-16-pve
proxmox-ve-2.6.32: 2.2-80
pve-kernel-2.6.32-16-pve: 2.6.32-80
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-1
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-28
qemu-server: 2.0-64
pve-firmware: 1.0-21
libpve-common-perl: 1.0-37
libpve-access-control: 1.0-25
libpve-storage-perl: 2.0-34
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.2-7
ksm-control-daemon: 1.1-1
My configuration file "exports":
/var/lib/vz/backups x.y.z.a/24(rw,sync,no_subtree_check,no_root_squash)
#Note: I use the options "sync" because is more sure
I don't understand why the task of qmrestore said OK if i get the message "tar: write error".
But this VM starts perfectly, then I think, will there be a data error somewhere on this VM??????
I beleive that is a bug
I will be very grateful to anyone who can answer these questions and to anyone of PVE team who can correct this problem
Best regards
Cesar
To PVE Team, and to anyone who can help me:
With CLI for KVM I use vzdump and qmrestore on a NFS storage into of PVE (ISO installer)
The VM have a HDD with 250 GB. into a image vm-110-disk-1.raw format in /var/lib/vz/images/110
All Hosts always have installed PVE 2.2 (ISO installer) with the latest updates and join into the PVE cluster. before starting to do something
The messages are:
vzdump:
Nov 10 02:03:10 INFO: Starting Backup of VM 110 (qemu)
Nov 10 02:03:10 INFO: status = stopped
Nov 10 02:03:11 INFO: backup mode: stop
Nov 10 02:03:11 INFO: ionice priority: 7
Nov 10 02:03:11 INFO: creating archive '/mnt/temp/kvm4/vzdump-qemu-110-2012_11_10-02_03_10.tar.gz'
Nov 10 02:03:11 INFO: adding '/mnt/temp/kvm4/vzdump-qemu-110-2012_11_10-02_03_10.tmp/qemu-server.conf' to archive ('qemu-server.conf')
Nov 10 02:03:11 INFO: adding '/var/lib/vz/images/110/vm-110-disk-1.raw' to archive ('vm-disk-virtio0.raw')
Nov 10 04:18:16 INFO: Total bytes written: 268435458560 (31.59 MiB/s)
Nov 10 04:18:17 INFO: archive file size: 28.47GB
Nov 10 04:18:17 INFO: Finished Backup of VM 110 (02:15:07)
=> so far it's all good
After I install PVE (ISO installer) on the same host, run updates and join into the PVE cluster.
=> so far it's all good
Then i execute by CLI the command qmrestore with their respective parameters:
qmrestore:
extracting archive '/mnt/temp/kvm4/vzdump-qemu-110-2012_11_10-02_03_10.tar.gz'
extracting 'qemu-server.conf' from archive
extracting 'vm-disk-virtio0.raw' from archive
Formatting '/var/lib/vz/images/110/vm-110-disk-1.raw', fmt=raw size=32768
new volume ID is 'local:110/vm-110-disk-1.raw'
restore data to '/var/lib/vz/images/110/vm-110-disk-1.raw' (268435456000 bytes)
tar: write error <---- why error???
268435456000 bytes copied, 16117 s, 15.88 MiB/s
TASK OK <---- why OK????
My PVE configuration (both nodes):
pve-manager: 2.2-26 (pve-manager/2.2/c1614c8c)
running kernel: 2.6.32-16-pve
proxmox-ve-2.6.32: 2.2-80
pve-kernel-2.6.32-16-pve: 2.6.32-80
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-1
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-28
qemu-server: 2.0-64
pve-firmware: 1.0-21
libpve-common-perl: 1.0-37
libpve-access-control: 1.0-25
libpve-storage-perl: 2.0-34
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.2-7
ksm-control-daemon: 1.1-1
My configuration file "exports":
/var/lib/vz/backups x.y.z.a/24(rw,sync,no_subtree_check,no_root_squash)
#Note: I use the options "sync" because is more sure
I don't understand why the task of qmrestore said OK if i get the message "tar: write error".
But this VM starts perfectly, then I think, will there be a data error somewhere on this VM??????
I beleive that is a bug
I will be very grateful to anyone who can answer these questions and to anyone of PVE team who can correct this problem
Best regards
Cesar
Last edited: