Vzdump problem

gwvm

New Member
Nov 25, 2010
5
0
1
Hi,

I try to backup the images with the command line :
Code:
vzdump --suspend --all --dumpdir /vmbackup/ --tmpdir /vmbackup/tmp --compress

I have the following error :
Code:
INFO: Total file size: 752965594 bytes
INFO: Total transferred file size: 749767751 bytes
INFO: Literal data: 749767751 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 1264651
INFO: File list generation time: 0.019 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 752879781
INFO: Total bytes received: 806474
INFO: sent 752879781 bytes  received 806474 bytes  6053704.86 bytes/sec
INFO: total size is 752965594  speedup is 1.00
INFO: first sync finished (125 seconds)
INFO: suspend vm
INFO: Setting up checkpoint...
INFO:   suspend...
INFO: Can not suspend container: Device or resource busy
INFO: Error: task 18090/8940(ntpd) uses posix timers
INFO: Checkpointing failed
ERROR: Backup of VM 102 failed - command 'vzctl --skiplock chkpnt 102 --suspend' failed with exit code 16

Any idea ?
 
also post the output of 'pveversion -v'
 
vm:/mnt/desk# pveversion -v
pve-manager: 1.6-2 (pve-manager/1.6/5087)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.6-19
pve-kernel-2.6.32-4-pve: 2.6.32-19
qemu-server: 1.1-18
pve-firmware: 1.0-8
libpve-storage-perl: 1.0-14
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-7
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.5-1
ksm-control-daemon: 1.0-4
vm:/mnt/desk#


I have tried to create a directory in the root and a network directory. Same problem.

Thanks
 
can you go for the latest version and test again? use pvetest repository.
 
deb http://ftp.debian.org/debian lenny main contrib
# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian lenny pvetest
# security updates
deb http://security.debian.org/ lenny/updates main contrib Update your repository and packages:
aptitude update

The new pvversion :

pve-manager: 1.6-9 (pve-manager/1.6/5307)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.6-27
pve-kernel-2.6.32-4-pve: 2.6.32-27
qemu-server: 1.1-25
pve-firmware: 1.0-9
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-9
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.13.0-2
ksm-control-daemon: 1.0-4

Result :

vm:~# vzdump --suspend --all --dumpdir /mnt/desk --tmpdir /tmp --compress
INFO: starting new backup job: vzdump --suspend --all --dumpdir /mnt/desk --tmpd ir /tmp --compress
INFO: Starting Backup of VM 101 (openvz)
INFO: CTID 101 exist unmounted down
INFO: status = CTID 101 exist unmounted down
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: creating archive '/mnt/desk/vzdump-openvz-101-2010_11_25-16_31_41.tgz'
INFO: Total bytes written: 1033881600 (986MiB, 8.3MiB/s)
INFO: archive file size: 503MB
INFO: Finished Backup of VM 101 (00:02:06)
INFO: Starting Backup of VM 102 (openvz)
INFO: CTID 102 exist mounted running
INFO: status = CTID 102 exist mounted running
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: starting first sync /var/lib/vz/private/102/ to /tmp/vzdumptmp3191
INFO: Number of files: 45249
INFO: Number of files transferred: 40822
INFO: Total file size: 753915668 bytes
INFO: Total transferred file size: 750717807 bytes
INFO: Literal data: 750717969 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 1264521
INFO: File list generation time: 0.001 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 753829901
INFO: Total bytes received: 806426
INFO: sent 753829901 bytes received 806426 bytes 2779507.65 bytes/sec
INFO: total size is 753915668 speedup is 1.00
INFO: first sync finished (271 seconds)
INFO: suspend vm
INFO: Setting up checkpoint...
INFO: suspend...
INFO: Can not suspend container: Device or resource busy
INFO: Error: task 2736/360(ntpd) uses posix timers
INFO: Checkpointing failed
ERROR: Backup of VM 102 failed - command 'vzctl --skiplock chkpnt 102 --suspend' failed with exit code 16
INFO: Starting Backup of VM 103 (openvz)
INFO: CTID 103 exist unmounted down
INFO: status = CTID 103 exist unmounted down
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: creating archive '/mnt/desk/vzdump-openvz-103-2010_11_25-16_38_20.tgz'
INFO: Total bytes written: 800358400 (764MiB, 11MiB/s)
INFO: archive file size: 263MB
INFO: Finished Backup of VM 103 (00:01:21)
INFO: Backup job finished with errors

2 succeeded instead of one...

Any idea ?

Thanks
 
seems openzv related, can you test with the stable openvz - I am pretty sure that this will work ? (2.6.18er branch)

just run:
Code:
aptitude install proxmox-ve-2.6.18

and reboot, but make sure you boot into 2.6.18 (check /boot/grub/menu.lst before or standby during reboot)
 
Same result... Other idea ?

Many thanks for your time !

Code:
vm:/mnt#  vzdump --suspend --all --dumpdir /mnt/desk --tmpdir /tmp --compress
INFO: starting new backup job: vzdump --suspend --all --dumpdir /mnt/desk --tmpd                                                                                                                               ir /tmp --compress
INFO: Starting Backup of VM 101 (openvz)
INFO: CTID 101 exist mounted running
INFO: status = CTID 101 exist mounted running
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: starting first sync /var/lib/vz/private/101/ to /tmp/vzdumptmp5613
INFO: Number of files: 31645
INFO: Number of files transferred: 25133
INFO: Total file size: 1014417730 bytes
INFO: Total transferred file size: 1011149895 bytes
INFO: Literal data: 1011149895 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 741793
INFO: File list generation time: 0.001 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 1013117100
INFO: Total bytes received: 515471
INFO: sent 1013117100 bytes  received 515471 bytes  8274551.60 bytes/sec
INFO: total size is 1014417730  speedup is 1.00
INFO: first sync finished (122 seconds)
INFO: suspend vm
INFO: Setting up checkpoint...
INFO:   suspend...
INFO: Can not suspend container: Device or resource busy
INFO: Error: task 3842/621(ntpd) uses posix timers
INFO: Checkpointing failed
ERROR: Backup of VM 101 failed - command 'vzctl --skiplock chkpnt 101 --suspend' failed with exit code 16
INFO: Starting Backup of VM 102 (openvz)
INFO: CTID 102 exist mounted running
INFO: status = CTID 102 exist mounted running
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: starting first sync /var/lib/vz/private/102/ to /tmp/vzdumptmp5613
INFO: Number of files: 45250
INFO: Number of files transferred: 40823
INFO: Total file size: 754068834 bytes
INFO: Total transferred file size: 750870973 bytes
INFO: Literal data: 750871135 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 1264411
INFO: File list generation time: 0.001 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 753983008
INFO: Total bytes received: 806441
INFO: sent 753983008 bytes  received 806441 bytes  2965773.87 bytes/sec
INFO: total size is 754068834  speedup is 1.00
INFO: first sync finished (254 seconds)
INFO: suspend vm
INFO: Setting up checkpoint...
INFO:   suspend...
INFO: Can not suspend container: Device or resource busy
INFO: Error: task 3788/355(ntpd) uses posix timers
INFO: Checkpointing failed
ERROR: Backup of VM 102 failed - command 'vzctl --skiplock chkpnt 102 --suspend' failed with exit code 16
INFO: Starting Backup of VM 103 (openvz)
INFO: CTID 103 exist mounted running
INFO: status = CTID 103 exist mounted running
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: starting first sync /var/lib/vz/private/103/ to /tmp/vzdumptmp5613
INFO: Number of files: 27299
INFO: Number of files transferred: 21032
INFO: Total file size: 784030194 bytes
INFO: Total transferred file size: 780791686 bytes
INFO: Literal data: 780791686 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 631035
INFO: File list generation time: 0.014 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 782444888
INFO: Total bytes received: 435842
INFO: sent 782444888 bytes  received 435842 bytes  7564065.02 bytes/sec
INFO: total size is 784030194  speedup is 1.00
INFO: first sync finished (103 seconds)
INFO: suspend vm
INFO: Setting up checkpoint...
INFO:   suspend...
INFO:   get context...
INFO: Checkpointing completed succesfully
INFO: starting final sync /var/lib/vz/private/103/ to /tmp/vzdumptmp5613
INFO: Number of files: 27299
INFO: Number of files transferred: 0
INFO: Total file size: 784030194 bytes
INFO: Total transferred file size: 0 bytes
INFO: Literal data: 0 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 631031
INFO: File list generation time: 0.001 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 632996
INFO: Total bytes received: 1964
INFO: sent 632996 bytes  received 1964 bytes  423306.67 bytes/sec
INFO: total size is 784030194  speedup is 1234.77
INFO: final sync finished (1 seconds)
INFO: resume vm
INFO: Resuming...
INFO: vm is online again after 1 seconds
INFO: creating archive '/mnt/desk/vzdump-openvz-103-2010_11_25-18_13_00.tgz'
INFO: Total bytes written: 800276480 (764MiB, 8.9MiB/s)
INFO: archive file size: 263MB
INFO: delete old backup '/mnt/desk/vzdump-openvz-103-2010_11_25-12_25_42.tgz'
INFO: Finished Backup of VM 103 (00:03:13)
INFO: Backup job finished with errors
 
Error: task 3842/621(ntpd) uses posix timers

do you run ntpd inside a container? why? remove it.
 
For the time ;-)

Removed. I works !

Thanks !!!!

fine! ntp runs on the host, containers get the time from the host.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!