Comments (5)
Regarding the reason. The snapshots mentioned above only contained an info.xml but no snapshot subvolume anymore. After remove those directories, snapper-cleanup failed on a few more snapshots that basically only contained garbage in the snapshot directory, eg info.xml.tmp-K2iuHC
or filelist-324.txt
.
from snapper.
last but not least cleanup of yet another snapshot failed because it had another subvolume in it. The log contains no hint which snapshot is affected in that case.
from snapper.
Which snapper version are we talking about here?
from snapper.
Not sure why I saw your question only now :( Looking at the logs
2024-01-24 01:39:28 MIL libsnapper(23886) Snapper.cc(Snapper):98 - snapper version 0.10.7
2024-01-24 01:39:28 MIL libsnapper(23886) Snapper.cc(Snapper):99 - libsnapper version 7.4.0
from snapper.
The reason for the failure is not clear to me: The initial log shows "btrfs_util_delete_subvolume_fd() failed, errno:39 (Directory not empty)". AFAIS that happens when the btrfs snapshot itself cannot be deleted. I reproduced that by placing a second snapshot inside a snapshot. But that does not fit your second comment.
In your third comment you write that the number of the snapshot that could not be deleted in not in the logs. It should be included in the log of the systemd service together with the information that the cleanup failed.
Which brings me to the overall problem. Simply ignoring the failure would result in more recent snapshots to be deleted (e.g. due to the space limits). If there are several un-removable snapshots there might not be enough recent snapshots anymore to rollback to a working state. So the user have to check failures of systemd services.
from snapper.
Related Issues (20)
- Add --dry-run option for cleanup
- duplicate pre snapshots when updating with nala HOT 3
- xmlDocFormatDump failed HOT 3
- "Illegal snapshot" error during list HOT 1
- IO Error (fcntl(F_DUPFD_CLOEXEC) failed error:24 (Too many open files)). HOT 6
- Snapper does not find config file after a lot of modifications HOT 13
- Change default cleanup timer interval to 1h, to match default LIMIT_HOURLY HOT 2
- Small doubt/problem with submodules on / and /home HOT 4
- Feature request: Lock snapshots
- Snapper log spam, increasing log size 0.5-1GB a minute HOT 1
- BTRFS Snapshots failing since kernel 6.8.4rc1, still working on 6.8.2 HOT 14
- Get new on kde plasma 6 not working HOT 1
- Snapper is failing to create snapshots HOT 4
- snapper.io is not secure HOT 2
- build fails due to moved libstdc++.la HOT 6
- snapper cleanup garbage
- create snapshot failed - pre-num X-1 for post-num X does not exist HOT 1
- Where do I declare custom $SNAPSHOTS path? HOT 1
- Source tarball on release page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snapper.