[SOLVED] Backup Fehlschlag bei großen VMs - "base snapshot locked"

Apr 19, 2022
28
4
3
Hallo zusammen,

ich habe bei unserem Proxmox Backup Server ein Problem,
das Backup von großen Servern (siehe unten) schlägt mit der Meldung fehl, dass das Snapshot bereits von einem anderen Prozess genutzt wird.

Was kann die Ursache des Problems sein?
Die anderen Backup-Jobs laufen problemlos. Bis vor wenigen Tagen liefen auch die betroffenen Server ohne Fehler.

Code:
INFO: Starting Backup of VM 106 (qemu)
INFO: Backup started at 2023-01-18 19:00:02
INFO: status = running
INFO: VM Name: fs
INFO: include disk 'scsi0' 'customer01:vm-106-disk-1' 200G
INFO: include disk 'scsi1' 'customer01:vm-106-disk-3' 4T
INFO: include disk 'scsi2' 'customer01:vm-106-disk-4' 4T
INFO: include disk 'scsi3' 'customer01:vm-106-disk-5' 4T
INFO: include disk 'efidisk0' 'customer01:vm-106-disk-0' 528K
INFO: include disk 'tpmstate0' 'customer01:vm-106-disk-2' 4M
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating Proxmox Backup Server archive 'vm/106/2023-01-18T18:00:02Z'
INFO: attaching TPM drive to QEMU for backup
INFO: issuing guest-agent 'fs-freeze' command
INFO: enabling encryption
INFO: issuing guest-agent 'fs-thaw' command
ERROR: VM 106 qmp command 'backup' failed - backup connect failed: command error: unable to acquire lock on snapshot directory "/ZPOOL01/pve/vm/106/2023-01-17T18:00:05Z" - base snapshot is already locked by another operation
INFO: aborting backup job
INFO: resuming VM again
ERROR: Backup of VM 106 failed - VM 106 qmp command 'backup' failed - backup connect failed: command error: unable to acquire lock on snapshot directory "/ZPOOL01/pve/vm/106/2023-01-17T18:00:05Z" - base snapshot is already locked by another operation
INFO: Failed at 2023-01-18 19:00:03
 
ein inkrementelles backup muss den letzten snapshot locken (damit der nicht waehrend dem aktuellen backup verschwindet). es gibt aber auch andere operationen die einen snapshot locken - die task logs auf PBS seite sollten aufschluss darueber geben welcher andere task gerade auf den snapshot zugreift. 100% verhindern laesst sich das nicht, aber eventuell laesst sich ein bisschen an den schedules drehen um solche konflikte unwahrscheinlicher zu machen.
 
  • Like
Reactions: Sebi-S

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!