View Full Version : Snapshot cannot be removed after long backup job

05-09-2012, 06:06 PM
Usually, there is no problem, but when a backup job takes a long time, the snapshot gets stuck and cannot be removed. Maybe because it is full?
This of course prevents any more backups from running.

proxmox:/# lvs
File descriptor 7 left open
/dev/dm-2: read failed after 0 of 4096 at 0: Input/output error
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
root pve owi-ao 442.75G
swap pve -wi-ao 7.63G
vzsnap-proxmox-0 pve Swi-Io 8.00G root 100.00
proxmox:/# lvremove -f -v /dev/pve/vzsnap-proxmox-0
File descriptor 7 left open
Using logical volume(s) on command line
/dev/dm-2: read failed after 0 of 4096 at 0: Input/output error
Can't remove open logical volume "vzsnap-proxmox-0"

Any idea how to solve this without a reboot?

Some info about the system:

proxmox:/# pveversion -v
pve-manager: 1.9-26 (pve-manager/1.9/6567)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.9-55+ovzfix-2
pve-kernel-2.6.32-4-pve: 2.6.32-33
pve-kernel-2.6.32-6-pve: 2.6.32-55+ovzfix-1
pve-kernel-2.6.32-7-pve: 2.6.32-55+ovzfix-2
qemu-server: 1.1-32
pve-firmware: 1.0-15
libpve-storage-perl: 1.0-19
vncterm: 0.9-2
vzctl: 3.0.29-3pve1
vzdump: 1.2-16
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.15.0-2
ksm-control-daemon: 1.0-6