struggling with LVM snapshots in different topic, I found out, that lvm snaps are not removed.
They are set up correctly, according to what
list-backupdirs shows, files are backed up, but then I’m left with remnants of previous backup. Snapshots active, and mounted. I do have to remove/umount them manually.
Log shows (un)successful try to remove unexistent snapshots:
0-1499016339-+ df -T -P
0-1499016339-+ egrep '/mnt/urbackup_snaps/58bedfa373fdf0dc960fb3d9ba32e222a9a290deb9922b5b$$'
0-1499016339-+ echo 'Snapshot is not mounted. Already removed'
0-1499016339-Snapshot is not mounted. Already removed
0-1499016339-+ rmdir /mnt/urbackup_snaps/58bedfa373fdf0dc960fb3d9ba32e222a9a290deb9922b5b
of course is not mounted, because is does not exists. It was not even created during this backup.
Only one of 3 snapshots is removed correctly.
So the question is how to purge old snapshot id database ? Or how to debug this issue further?