Code Monkey home page Code Monkey logo

Comments (5)

giuseppe avatar giuseppe commented on May 31, 2024

we don't disable that, but to my knowledge it wasn't tested. Have you already tried to run it with CephFS?

from fuse-overlayfs.

andrewsali avatar andrewsali commented on May 31, 2024

I haven't been able to test with CephFS yet, having some issues with using the static build on that machine, the "merged" folder is returning a bunch of ???-s:

[salia@'h:ofs-test ] $ls -laht
ls: cannot access 'merged': Invalid argument
total 20K
drwxr-xr-x  3 salia domain users 4.0K Nov 11 15:36 workdir
drwxr-xr-x  6 salia domain users 4.0K Nov 11 15:36 .
drwxr-xr-x  2 salia domain users 4.0K Nov 11 15:36 upperdir
drwxr-xr-x  2 salia domain users 4.0K Nov 11 15:36 lowerdir
drwxrwxrwt 13 root  root         4.0K Nov 11 15:36 ..
d?????????  ? ?     ?               ?            ? merged

I tried on my local machine with sshfs as upperdir / workdir, unfortunately if I change the files remotely (e.g. add a new file), it shows up properly in sshfs based upperdir, but the merged directory is not showing the changes. If I remount the overlayfs, then it shows up. Is there maybe some cache setting that could be set up to invalidate after a certain amount of time so that changes that were done remotely get picked up?

from fuse-overlayfs.

giuseppe avatar giuseppe commented on May 31, 2024

yes, I think you would like to tweak -o timeout=N, where with N=0 the caching is disabled.

from fuse-overlayfs.

andrewsali avatar andrewsali commented on May 31, 2024

With N=0, the problem is gone, however with anything larger, it seems the cache is never invalidated. Can it be a problem that the underlying FS of the overlay is another fuse mount?

from fuse-overlayfs.

andrewsali avatar andrewsali commented on May 31, 2024

Closing this as with N=0 it seems to work with remote filesystems.

from fuse-overlayfs.

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.