vmtar hangs when snapshot runs out of space

e100

Renowned Member
Nov 6, 2010
1,268
46
88
Columbus, Ohio
ulbuilder.wordpress.com
If the snapshot that vmtar is reading from becomes full vmtar hangs consuming cpu.
Only way the backup process will continue is to kill vmtar.
Seems like it is not throwing an error when it gets an IO error from the device.

Installed the updates from pvetest the other day related to LVM issues.
I also noticed this issue before those updates.
Today is the 2nd time I have seen this happen.

Code:
pve-manager: 2.0-64 (pve-manager/2.0/a7fe30d0)
running kernel: 2.6.32-11-pve
proxmox-ve-2.6.32: 2.0-66
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-7-pve: 2.6.32-60
lvm2: 2.02.95-1pve1
clvm: 2.02.95-1pve1
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-2
pve-cluster: 1.0-26
qemu-server: 2.0-39
pve-firmware: 1.0-15
libpve-common-perl: 1.0-27
libpve-access-control: 1.0-21
libpve-storage-perl: 2.0-18
vncterm: 1.0-2
vzctl: 3.0.30-2pve4
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-9
ksm-control-daemon: 1.1-1
 
yes, we do also observe this; we created a little watchdog to detect this, which kills vmtar automatically. Backup notification still reports "successful" in this case...
 
If the snapshot that vmtar is reading from becomes full vmtar hangs consuming cpu.

Sorry, maybe a stupid question but what means that the snapshot becomes full? I have the same problem on one of my Proxmox installations but my LV for pve-data and for backup is big enough there, I think.

Thanks in advance, if anybody can explain me this issue!

Maybe it is helpful, here are some system informations:
Code:
p1:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/pve-root   95G  1.1G   89G   2% /
tmpfs                  12G     0   12G   0% /lib/init/rw
udev                   10M  576K  9.5M   6% /dev
tmpfs                  12G     0   12G   0% /dev/shm
/dev/mapper/pve-data  768G  535G  234G  70% /var/lib/vz
/dev/sda1             504M   51M  429M  11% /boot
/dev/mapper/pve-BACKUP
                      768G   26G  704G   4% /var/lib/vz-backup
p1:~# lvscan
  ACTIVE            '/dev/pve/swap' [23.00 GB] inherit
  ACTIVE            '/dev/pve/root' [96.00 GB] inherit
  ACTIVE   Original '/dev/pve/data' [780.00 GB] inherit
  ACTIVE   Snapshot '/dev/pve/BACKUP' [490.00 GB] inherit
 

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!