Error when deleting backup from datastore

BigErchie

New Member
Oct 10, 2020
11
0
1
45
Hi all,

I've come across the following error when deleting backups in PBS. Can't find any reference to this in the forum and wondered if it was a known issue or just my config?

PBS Error.PNG

Code:
proxmox-backup: 1.0-4
proxmox-backup-server: 1.0.1-1
pve-kernel-5.4: 6.2-7
pve-kernel-helper: 6.2-7
pve-kernel-5.4.65-1-pve: 5.4.65-1
pve-kernel-5.4.44-2-pve: 5.4.44-2
ifupdown2: 3.0.0-1+pve3
libjs-extjs: 6.0.1-10
proxmox-backup-docs: 1.0.1-1
proxmox-backup-client: 1.0.1-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.3-10
pve-xtermjs: 4.7.0-2
smartmontools: 7.1-pve2
zfsutils-linux: 0.8.4-pve2

Thanks in advance.
 
Thanks Thomas. The dir looks to be empty.

Bash:
root@pbs:~# ls -laR /mnt/freenas/pbs/prodesk1/ct/104/2020-11-11T15\:03\:48Z/
'/mnt/freenas/pbs/prodesk1/ct/104/2020-11-11T15:03:48Z/':
total 1
drwxr-xr-x 2 root backup 2 Nov 11 15:25 .
drwxr-xr-x 3 root backup 4 Nov 11 15:02 ..

I'm also seeing this in the web UI, size is simply just spinning but seems to indicate the snapshot is still there.

1605117408845.png
 
Hi,

this rather just seems a single left over directory, you could rmdir it for it to be gone and not listed by the API/web interface anymore.

Or is this issue still occurring for new/other backups?
 
It's happening for all backups even the new ones that I'm still creating. I appear to be able to continue to create them and restore from the ones that have been created.

The problem seems to be that the software is not properly removing the directory during a manual delete or a prune/GC.

I thought it was perhaps a permissions error on my NFS share but this has not changed and the only thing that has is PBS has been updated. I presume that this is not something that is being widely reported?
 
I thought it was perhaps a permissions error on my NFS share but this has not changed and the only thing that has is PBS has been updated. I presume that this is not something that is being widely reported?
Ah, this is backed by a NFS? Yes, there's a bug @dcsapak could reproduce here only very recently (yesterday or so) with your described effects.

The underlying issue is how flocks (file locks) are handled by NFS, which breaks the final removal - we'll look into a fix for that.
 
  • Like
Reactions: BigErchie
Thanks @t.lamprecht , glad to know it's not something I have somehow managed to break tinkering with things. I guess I can switch to SMB for the time being until a fix is in place :)
 

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!