Snapshot cannot be removed after long backup job

gkovacs

Renowned Member
Dec 22, 2008
512
50
93
Budapest, Hungary
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.
Code:
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:/#
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:
Code:
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
 
Last edited:

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!