vzdump backup Failed

manues50

Active Member
Jul 25, 2019
58
0
26
35
I have scheduled daily backups((CIFS)) for containers, today I got following error via mail


200: 2019-11-01 00:00:02 INFO: Starting Backup of VM 200 (lxc)
200: 2019-11-01 00:00:02 INFO: status = running
200: 2019-11-01 00:00:02 INFO: CT Name: CT200
200: 2019-11-01 00:00:02 INFO: backup mode: snapshot
200: 2019-11-01 00:00:02 INFO: ionice priority: 7
200: 2019-11-01 00:00:02 INFO: create storage snapshot 'vzdump'
200: 2019-11-01 00:00:02 ERROR: Backup of VM 200 failed - lvcreate snapshot 'pve/snap_vm-200-disk-0_vzdump' error: Logical Volume "snap_vm-200-disk-0_vzdump" already exists in volume group "pve"
 
Hi,
this LVM (pve/snap_vm-200-disk-0_vzdump) is normally created for taking the snapshot and deleted afterwards. Is there another failed backup task in your Tasks log where the removal of that LVM failed? After removing the LVM the backup should work again, but please make sure that this LVM isn't something else.
 
Hi

same issue but I try to delete snapshot have this error:

root@pm2:~# lvremove /dev/pve/snap_vm-110-disk-1_vzdump
Logical volume pve/snap_vm-110-disk-1_vzdump contains a filesystem in use.


Any help ?

roberto
 
Hi

same issue but I try to delete snapshot have this error:

root@pm2:~# lvremove /dev/pve/snap_vm-110-disk-1_vzdump
Logical volume pve/snap_vm-110-disk-1_vzdump contains a filesystem in use.


Any help ?

roberto

Hi,
does
Code:
lsof /dev/pve/snap_vm-110-disk-1_vzdump
fuser -vam /dev/pve/snap_vm-110-disk-1_vzdump
show anything? This should show you processes that are still accessing the volume. If a filesystem on this volume shows up with findmnt, please try unmounting it before doing lvremove.
 
Thank you very much for your help.

I just entered the server again and it doesn't show:

/dev/pve/snap_vm-110-disk-1_vzdump

It disappeared ... it was surely used by a process that ended.

Thank you very much for your help as well.
 

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!