Giter Club home page Giter Club logo

Comments (8)

trapexit avatar trapexit commented on June 11, 2024

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.

Wing-ka-king avatar Wing-ka-king commented on June 11, 2024

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.

trapexit avatar trapexit commented on June 11, 2024

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.

Wing-ka-king avatar Wing-ka-king commented on June 11, 2024

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.

trapexit avatar trapexit commented on June 11, 2024

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.

Wing-ka-king avatar Wing-ka-king commented on June 11, 2024

from mergerfs.

trapexit avatar trapexit commented on June 11, 2024

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.

trapexit avatar trapexit commented on June 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.