Dear members,
since I've configured NTP and change my local timezone (FR) into a Debian 6 VM, proxmox failed to create a backup for a vz container.
with this message :
INFO: Can not suspend container: Device or resource busy
INFO: Error: task 60812/7586(ntpd) uses posix timers
If I choose backup with "stop mode", I've no problem.
If I stop NTP daemon before backup with "snapshot mode", no more problem
Some idea about this behavior ?
since I've configured NTP and change my local timezone (FR) into a Debian 6 VM, proxmox failed to create a backup for a vz container.
with this message :
INFO: Can not suspend container: Device or resource busy
INFO: Error: task 60812/7586(ntpd) uses posix timers
Code:
INFO: starting new backup job: vzdump 102 --remove 0 --mode snapshot --compress lzo --storage proxmox-bck --node proxmox
INFO: Starting Backup of VM 102 (openvz)
INFO: CTID 102 exist mounted running
INFO: status = running
INFO: mode failure - unable to detect lvm volume group
INFO: trying 'suspend' mode instead
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: starting first sync /mnt/proxmox-vm/private/102/ to /mnt/proxmox-bck/dump/vzdump-openvz-102-2012_04_09-12_18_59.tmp
INFO: Number of files: 21661
INFO: Number of files transferred: 17476
INFO: Total file size: 460172631 bytes
INFO: Total transferred file size: 456997730 bytes
INFO: Literal data: 456997730 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 455731
INFO: File list generation time: 0.001 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 458279481
INFO: Total bytes received: 362499
INFO: sent 458279481 bytes received 362499 bytes 131040565.71 bytes/sec
INFO: total size is 460172631 speedup is 1.00
INFO: first sync finished (3 seconds)
INFO: suspend vm
INFO: Setting up checkpoint...
INFO: suspend...
INFO: Can not suspend container: Device or resource busy
INFO: Error: task 60812/7586(ntpd) uses posix timers
INFO: Checkpointing failed
ERROR: Backup of VM 102 failed - command 'vzctl --skiplock chkpnt 102 --suspend' failed: exit code 16
INFO: Backup job finished with errors
TASK ERROR: job errors
If I choose backup with "stop mode", I've no problem.
Code:
INFO: starting new backup job: vzdump 102 --remove 0 --mode stop --compress lzo --storage proxmox-bck --node proxmox
INFO: Starting Backup of VM 102 (openvz)
INFO: CTID 102 exist mounted running
INFO: status = running
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: stopping vm
INFO: Stopping container ...
INFO: Container was stopped
INFO: Container is unmounted
INFO: creating archive '/mnt/proxmox-bck/dump/vzdump-openvz-102-2012_04_09-12_23_52.tar.lzo'
INFO: Total bytes written: 472627200 (451MiB, 94MiB/s)
INFO: archive file size: 257MB
INFO: restarting vm
INFO: Starting container ...
INFO: Container is mounted
INFO: Setting CPU units: 1000
INFO: Setting CPUs: 1
INFO: Configure veth devices: veth102.0
INFO: Adding interface veth102.0 to bridge vmbr0 on CT0 for CT102
INFO: Container start in progress...
INFO: vm is online again after 10 seconds
INFO: Finished Backup of VM 102 (00:00:10)
INFO: Backup job finished successfully
TASK OK
If I stop NTP daemon before backup with "snapshot mode", no more problem
Code:
INFO: starting new backup job: vzdump 102 --remove 0 --mode snapshot --compress lzo --storage proxmox-bck --node proxmox
INFO: Starting Backup of VM 102 (openvz)
INFO: CTID 102 exist mounted running
INFO: status = running
INFO: mode failure - unable to detect lvm volume group
INFO: trying 'suspend' mode instead
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: starting first sync /mnt/proxmox-vm/private/102/ to /mnt/proxmox-bck/dump/vzdump-openvz-102-2012_04_09-12_33_53.tmp
INFO: Number of files: 21659
INFO: Number of files transferred: 17475
INFO: Total file size: 460185010 bytes
INFO: Total transferred file size: 457010137 bytes
INFO: Literal data: 457010137 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 455634
INFO: File list generation time: 0.001 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 458291747
INFO: Total bytes received: 362475
INFO: sent 458291747 bytes received 362475 bytes 131044063.43 bytes/sec
INFO: total size is 460185010 speedup is 1.00
INFO: first sync finished (3 seconds)
INFO: suspend vm
INFO: Setting up checkpoint...
INFO: suspend...
INFO: get context...
INFO: Checkpointing completed succesfully
INFO: starting final sync /mnt/proxmox-vm/private/102/ to /mnt/proxmox-bck/dump/vzdump-openvz-102-2012_04_09-12_33_53.tmp
INFO: Number of files: 21659
INFO: Number of files transferred: 0
INFO: Total file size: 460185010 bytes
INFO: Total transferred file size: 0 bytes
INFO: Literal data: 0 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 455634
INFO: File list generation time: 0.001 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 457361
INFO: Total bytes received: 1726
INFO: sent 457361 bytes received 1726 bytes 918174.00 bytes/sec
INFO: total size is 460185010 speedup is 1002.39
INFO: final sync finished (0 seconds)
INFO: resume vm
INFO: Resuming...
INFO: vm is online again after 0 seconds
INFO: creating archive '/mnt/proxmox-bck/dump/vzdump-openvz-102-2012_04_09-12_33_53.tar.lzo'
INFO: Total bytes written: 472647680 (451MiB, 91MiB/s)
INFO: archive file size: 257MB
INFO: Finished Backup of VM 102 (00:00:10)
INFO: Backup job finished successfully
TASK OK
Some idea about this behavior ?