Comments (3)
If you have bees set up correctly it will not cross filesystem boundaries. If you don't give bees the root of a btrfs, bees should detect that immediately and refuse to process the filesystem. If something is mounted on top of the bees mount point, bees will detect that the metadata doesn't agree with the behavior of open() and refuse to process the data. Directory traversals are done with openat() and O_NOFOLLOW to avoid filesystem races, and every opened FD is checked for consistency with the expected inode. If you can get bees to stray from one btrfs filesystem to another and then run EXTENT_SAME there, I would like to know how.
Can you describe your setup in more detail?
There is one known bug with EXTENT_SAME--when there is a hole between the first and second 4K block (i.e. inline extent, hole between end of extent and second 4K block, then regular extent), EXTENT_SAME returns EINVAL. bees could theoretically check for that but it doesn't usually happen often enough to justify the extra code.
from bees.
I guess the simplest equivalent would be:
btrfs root subvol mounted on /tmp/brtfs
underneath, a subvol named jessie, so /tmp/btrfs/jessie
underneath that procfs mounted on /tmp/btrfs/jessie/proc
(so can do chroot stuff within)
When I ran bees on /tmp/btrfs, I saw proc files were being looked at.
I have bind mounted /tmp/btrfs on /tmp/x, and am running bees on /tmp/x now, and dedup seems to be proceeding.
from bees.
don't currently have a setup like this with a kernel compatible with bees, so closing for now.
from bees.
Related Issues (20)
- Request for version bump HOT 1
- Missing commit from 2 years ago in v0.8 but in master??? HOT 3
- What actually is a "toxic match"? HOT 2
- RFC: bees startup and distro integration HOT 19
- Toxic hashes matches, bees DB size HOT 1
- Bees hangs up 6.1.7-1-MANJARO kernel HOT 5
- Test error on i686 and armhf (easy fix)
- GRUB: Extent not found after running bees HOT 4
- a segfault of bees HOT 2
- limit the dedup min size 64K for less fragment? HOT 2
- Bees crashes after 10 minutes of running HOT 1
- munmap when not actively scanning HOT 2
- Help with using Bees.in setup script HOT 8
- build failure with GCC 13 HOT 2
- How exactly is the compression method set and how might one go about changing it? HOT 1
- regression on linux 6.3.1: 'vmalloc error' during crawl HOT 16
- Cannot start beesd service on Archlinux HOT 5
- corrupted double-linked list HOT 17
- bees causes memory fragmentation and low cached memory HOT 23
- Bees fills the journal with 'LOGICAL_INO returned 0 refs' messages HOT 1
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 bees.