Comments (8)
Snapper compares the pre and post snapshots. For btrfs, it tries to use special code using the btrfs send/receive ioctl. That ioctl fails, likely not included in your kernel. Snapper then falls back to the general snapshot comparison code so there is no difference besides of speed. On a SSD the speedup would likely be small anyway.
from snapper.
Just out of curiousity.
Where can I get the btrfs IOCTL kernel patch?
from snapper.
It was included upstream about a year ago.
from snapper.
Hmm -- I'm using a very recent stock mainline kernel:
Linux Vaio-Saad 3.12.6-1-ARCH #1
What is the config name?
from snapper.
AFAIS there's no kernel config switch for btrfs send/receive. You can try to use the "send" command of the "btrfs" command line tool to see whether the ioctl works.
from snapper.
Unfortunately that's not the case (missing support in kernel). I bumped into same issue this week as well and I think missing support for ioctl would return ENOTTY from kernel. "btrfs send" using btrfs-progs works as expected but snapper keeps failing. I'll track it down and provide some further info hopefully...
from snapper.
I have a feeling this issue is related to: https://www.mail-archive.com/[email protected]/msg29667.html. I will retest both issues on the next release
from snapper.
Hi, Arvin, saamalik I think I got it. I'll create new pull request with the explanation and proposal for a fix...
from snapper.
Related Issues (20)
- continue cleanup in case of failure HOT 5
- "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
- timezone error HOT 3
- After snapper rollback/restore marks packages as explicitly installed which were autoinstalled previously HOT 2
- using snapper with samba and vfs_snapper HOT 18
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.