Comments (4)
I can actually reliably reproduce this with another user on this machine (that is, I consistently get EACCESS from the pool, but it works fine from the drive directly). Syscalls are the same, though... 🤔
from mergerfs.
Are you interacting with the filesystem before doing all that?
mergerfs has a supplemental group cache because the cost of looking up supplemental groups is pretty expensive.
https://github.com/trapexit/mergerfs#supplemental-user-groups
And every thread has its own cache. So my bet is you have triggered the cache at different states of setup and so you get different results. Restart mergerfs and I would suspect it works as expected.
It is on my todo list to add an occasional timing out of the caches but right now it doesn't do that since changing of groups is pretty rare. The description there needs some updating but I was holding off till I added a timeout to the cache. At the end of the day though it will never be 100% because there is no way to know the grouping changed to invalidate and it is too expensive to check regularly. Best I can really do is a general timeout and/or manual flushing.
from mergerfs.
Thanks, it looks like this was the culprit.
On an unrelated note (unless you'd rather me ask in a new issue): I copied a large amount of data to this pool using rsync, with the above mergerfs settings, and two drives of equal capacity. Somehow, an entire directory's worth (let's call it /a
) of files ended up on just one drive, but an /a
directory on the second drive was created, which is empty. Does this sound normal? I don't understand how such a thing would happen -- why would an empty /a
directory be created, if no file was put there?
I don't know why this would be the case, it's not like rsync is parallel. Furthermore, if I just mkdir /pool/b
, /b
only gets created on one drive. So... not sure why this would be happening.
(Hopefully that makes sense; it's not that big of an issue, just a curiosity if anything.)
from mergerfs.
Without a more explicit description of exactly what the original state is and what actions are taken I can't really speak to it.
Everything works as described in the docs. If you have category.create=mfs then the branch with the most free space is chosen for the function in question.
from mergerfs.
Related Issues (20)
- Merge of directory level
- MergerFS mount randomly disappears, only displays ??? when listed HOT 66
- Operation not permitted when mounting as non-root HOT 5
- Add support for "cp --reflink" HOT 4
- Failing to mount from fstab on boot, but can mount from command line HOT 5
- ubuntu 18.04 fresh install, with error HOT 1
- Permissions issue qBittorrent file creation when preload library is used in docker instance HOT 9
- unable to create new files (touch: cannot touch 'test': Not a directory) HOT 6
- Hangs when overlayfs is mounted on top of mergerfs's branch HOT 7
- Mergerfs volume with a single disk pool HOT 2
- Is it possible to use 'mount -a' to rebuild a mergerfs pool that is defined in fstab? HOT 6
- Tiered caching clarification HOT 7
- mergerfs - fuse `allow_other` and security HOT 3
- Benchmarking tool HOT 3
- fluctuating write performance HOT 13
- "&" sign in dirs path HOT 3
- The Debian12 mergerfs ls&df command displays an exception. HOT 7
- FUSE passthrough HOT 3
- Android smb clients issue on remove files. HOT 4
- How can I avoid moving files across file systems (mechanical hard disks) caused by Path Preservation? HOT 5
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 mergerfs.