Comments (8)
The trace you've provided shows mergerfs running normally and then when attempting to open the file the OS blocks it.
415 13:45:56.176996 openat(AT_FDCWD, "/mnt/disk1/test.txt", O_RDONLY|O_LARGEFILE|O_CLOEXEC|0x4000000 <unfinished ...>
I'm not able to reproduce this. Can you please make this truly simple as possible. One branch. Try using a tmpfs perhaps.
strace -fvTtt -s 256 -o /tmp/mergerfs.strace.txt mergerfs -f -o cache.files=off,category.create=mfs,minfreespace=0 /mnt/disk1 /offload
# in a different terminal
echo "test" > /offload/test.txt
from mergerfs.
Here is the strace from command
strace -fvTtt -s 256 -o mergerfs.strace.txt mergerfs -f -o cache.files=off,category.create=mfs,minfreespace=0 /mnt/disk2 /offload
mergerfs.strace_single_disk.txt
In another terminal, I ran
echo "this is yet another test" > /offload/text.txt
from mergerfs.
The trace shows the same thing. Open with a weird flag and it blocking. What did you use to install mergerfs? This is Ubuntu 20.04?
from mergerfs.
Yes, its Ubuntu 20.04.
I first installed using apt install
, but version 2.28 is available for my distro. Had the same problem with it.
Then I downloaded latest release deb from github and installed with dpkg -i <path-to-deb>
from mergerfs.
I really have no idea. Something is perhaps borked with your setup. I created a VM with 20.04.6, installed mergerfs 2.35.1 for Focal AMD64 and it works as expected. You should try using a tmpfs, building mergerfs from scratch or trying a VM yourself on the same hardware.
from mergerfs.
from mergerfs.
I used 20.04 for years till just this month and had no issue and can't replicate it now with a VM.
If you can reproduce it in a VM that'd be the best for me as then you could share it.
from mergerfs.
I didn't ask you to close this ticket. I just need something reproducible to be able to debug further.
from mergerfs.
Related Issues (20)
- High CPU Usage on AARCH64 mergerfs version: 2.34.1 HOT 3
- allow_other is still required even though the docs says it's deprecated and always enabled HOT 3
- After applying mergefs with success, cannot access mountpoint: `ls: cannot access 'mountpoint': No such file or directory HOT 4
- No release for Ubuntu Kenetic HOT 2
- Build from source files fails on Ubuntu due to missing ChangeLog HOT 8
- Can a mergerfs be mounted as an nfs? HOT 5
- Checksums / hashes (SHA256, etc.) for release assets HOT 2
- Rsyncing existing 9TB mergerfs pool to new NAS with clean identical mergerfs pool but not balancing. HOT 8
- Trying to balance throws the error "is not a mergerfs mount" HOT 16
- SELinux support HOT 3
- A rpm for Fedora 38 HOT 1
- MergerFS Reading More Data Than It Uploads - Is This Normal? HOT 2
- fuse_write.cpp: write() method:The value of ffi_->direct_io、ffi_->keep_cache and ffi_->auto_cache is always 0. HOT 7
- moveonenospc corrupted file in append mode HOT 97
- Weird behavior, missing mount in mergerfs HOT 1
- CI Optimization: skip irrelevant CI checks when only .md and .txt files are updated
- Why new files inside a folder cannot be created in the other disk after merging HOT 5
- Having issues with hardlinks - mergerfs version: 2.34.1 HOT 4
- Can Mergerfs split folder into multiple drives HOT 10
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.