Backup freezing the system

soho

New Member
Feb 26, 2011
3
0
1
Uberlandia/Brazil
www.soho.eti.br
hello all.

I'am using Proxmox 1.7 and work perfect. But the backups of VMs are freezing the system.

There no appears error message in logs, but the system simply freezing and have to turn off the hardware. The backup is done on an external media. Below the Logs:

Code:
Feb  1 02:40:01 proxmox /USR/SBIN/CRON[1293]: (root) CMD (test -x /usr/lib/atsar/atsa1 && /usr/lib/atsar/atsa1)
Feb  1 02:45:01 proxmox /USR/SBIN/CRON[1323]: (root) CMD (/usr/share/vzctl/scripts/vpsreboot)
Feb  1 02:45:01 proxmox /USR/SBIN/CRON[1324]: (root) CMD (/usr/share/vzctl/scripts/vpsnetclean)
Feb  1 02:50:01 proxmox /USR/SBIN/CRON[1355]: (root) CMD (/usr/share/vzctl/scripts/vpsreboot)
Feb  1 02:50:01 proxmox /USR/SBIN/CRON[1356]: (root) CMD (/usr/share/vzctl/scripts/vpsnetclean)
Feb  1 02:50:01 proxmox /USR/SBIN/CRON[1357]: (root) CMD (test -x /usr/lib/atsar/atsa1 && /usr/lib/atsar/atsa1)
Feb  1 02:55:01 proxmox /USR/SBIN/CRON[1393]: (root) CMD (/usr/share/vzctl/scripts/vpsreboot)
Feb  1 02:55:01 proxmox /USR/SBIN/CRON[1394]: (root) CMD (/usr/share/vzctl/scripts/vpsnetclean)
Feb  1 03:00:01 proxmox /USR/SBIN/CRON[1427]: (root) CMD (/usr/share/vzctl/scripts/vpsreboot)
Feb  1 03:00:01 proxmox /USR/SBIN/CRON[1428]: (root) CMD (test -x /usr/lib/atsar/atsa1 && /usr/lib/atsar/atsa1)
Feb  1 03:00:01 proxmox /USR/SBIN/CRON[1429]: (root) CMD (/usr/share/vzctl/scripts/vpsnetclean)
Feb  1 03:05:01 proxmox /USR/SBIN/CRON[1467]: (root) CMD (vzdump --quiet --snapshot --compress --storage BKP --all)
Feb  1 03:05:01 proxmox /USR/SBIN/CRON[1468]: (root) CMD (/usr/share/vzctl/scripts/vpsreboot)
Feb  1 03:05:01 proxmox /USR/SBIN/CRON[1469]: (root) CMD (/usr/share/vzctl/scripts/vpsnetclean)
[COLOR=red]Feb  1 03:05:01 proxmox vzdump[1467]: INFO: starting new backup job: vzdump --quiet --snapshot --compress --storage BKP --all[/COLOR]
Feb  1 03:05:01 proxmox vzdump[1467]: INFO: Starting Backup of VM 101 (qemu)
Feb  1 03:05:02 proxmox qm[1499]: VM 101 suspend
Feb  1 03:10:01 proxmox /USR/SBIN/CRON[1511]: (root) CMD (/usr/share/vzctl/scripts/vpsnetclean)
Feb  1 03:10:01 proxmox /USR/SBIN/CRON[1512]: (root) CMD (/usr/share/vzctl/scripts/vpsreboot)
Feb  1 03:10:01 proxmox /USR/SBIN/CRON[1513]: (root) CMD (test -x /usr/lib/atsar/atsa1 && /usr/lib/atsar/atsa1)
Feb  1 03:12:10 proxmox ntpd[2176]: kernel time sync status change 4001
Feb  1 03:15:01 proxmox /USR/SBIN/CRON[1549]: (root) CMD (/usr/share/vzctl/scripts/vpsreboot)
Feb  1 03:15:01 proxmox /USR/SBIN/CRON[1550]: (root) CMD (/usr/share/vzctl/scripts/vpsnetclean)
Feb  1 03:17:01 proxmox /USR/SBIN/CRON[1569]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Feb  1 03:20:01 proxmox /USR/SBIN/CRON[1582]: (root) CMD (/usr/share/vzctl/scripts/vpsreboot)
Feb  1 03:20:01 proxmox /USR/SBIN/CRON[1583]: (root) CMD (/usr/share/vzctl/scripts/vpsnetclean)
Feb  1 03:20:01 proxmox /USR/SBIN/CRON[1584]: (root) CMD (test -x /usr/lib/atsar/atsa1 && /usr/lib/atsar/atsa1)
Feb  1 03:25:01 proxmox /USR/SBIN/CRON[1615]: (root) CMD (/usr/share/vzctl/scripts/vpsreboot)
Feb  1 03:25:01 proxmox /USR/SBIN/CRON[1616]: (root) CMD (/usr/share/vzctl/scripts/vpsnetclean)
[COLOR=red]Feb  1 07:35:51 proxmox kernel: imklog 3.18.6, log source = /proc/kmsg started.[/COLOR]
Code:
pveversion -v
pve-manager: 1.7-11 (pve-manager/1.7/5470)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.7-30
pve-kernel-2.6.32-4-pve: 2.6.32-30
qemu-server: 1.1-28
pve-firmware: 1.0-10
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-10
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.13.0-3
ksm-control-daemon: 1.0-4
Code:
vgdisplay pve
  --- Volume group ---
  VG Name               pve
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  4
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               931.01 GB
  PE Size               4.00 MB
  Total PE              238338
  Alloc PE / Size       237316 / 927.02 GB
  Free  PE / Size       1022 / 3.99 GB
  VG UUID               vY2fYY-59Me-jQ0W-eG8P-bC2D-X5T3-dh1Ajs


 
hello dietmar. Thank you for reply.

The log I have is just this:

Code:
Feb 1 03:05:01 INFO: Starting Backup of VM 101 (qemu)
Feb 1 03:05:01 INFO: running
Feb 1 03:05:01 INFO: status = running
Feb 1 03:05:02 INFO: mode failure - unable to dump into snapshot (use option --dumpdir)
Feb 1 03:05:02 INFO: trying 'suspend' mode instead
Feb 1 03:05:02 INFO: backup mode: suspend
Feb 1 03:05:02 INFO: ionice priority: 7
Feb 1 03:05:02 INFO: suspend vm
Feb 1 03:05:02 INFO: creating archive '/media/hdusb/vzdump-qemu-101-2011_02_01-03_05_01.tar.gz'
Feb 1 03:05:02 INFO: adding '/media/hdusb/vzdump-qemu-101-2011_02_01-03_05_01.tmp/qemu-server.conf' to archive ('qemu-server.conf')
Feb 1 03:05:02 INFO: adding '/var/lib/vz/images/101/vm-101-disk-1.raw' to archive ('vm-disk-ide0.raw')
 
Not sure why it hangs, but dumping into the same volume is a bad idea anayways:

Code:
Feb 1 03:05:02 INFO: mode failure - unable to dump into snapshot (use option --dumpdir)

Please can you set a more reasonable destination directory.
 
hello dietmar.

I use an external hard drive mounted on /media/hdusb.

Anyway I made a change here: I installed again Proxmox, using 1.5 version and updated the Proxmox using apt-get upgrade. 2 backups have occurred since the update and did not freeze. I will follow the next few weeks and sending a feedback here. Bellow an actual configuration:

Code:
uname -r
2.6.18-4-pve


vgdisplay pve
  --- Volume group ---
  VG Name               pve
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  10
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               931.01 GB
  PE Size               4.00 MB
  Total PE              238338
  Alloc PE / Size       237316 / 927.02 GB
  Free  PE / Size       1022 / 3.99 GB
  VG UUID               1fHPP4-s2WP-09RT-FVBj-dZZG-8xXh-cunA06


pveversion -v
pve-manager: 1.7-11 (pve-manager/1.7/5470)
running kernel: 2.6.18-4-pve
proxmox-ve-2.6.18: 1.7-10
pve-kernel-2.6.18-2-pve: 2.6.18-5
pve-kernel-2.6.18-4-pve: 2.6.18-10
qemu-server: 1.1-28
pve-firmware: 1.0-10
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-10
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm-2.6.18: 0.9.1-10