Issues with UnionFS

  • Hi Everyone,


    I've recently started to use a combo of SnapRAID and UnionFS and have been seeing some strange stuff. Is it possible to host things like the docker config on a shared folder hosted on UnionFS? It hasn't been working for me.


    Also, I've noticed a few issues putting various docker container config directories on shares hosted on UnionFS as well (mainly Sonarr and Radarr). Is this nomral?


    Thanks!

    • Official Post

    Also, I've noticed a few issues putting various docker container config directories on shares hosted on UnionFS

    From my understanding you have to use the absolute path i.e. /srv/dev-etc rather than the relative path /sharedolders

    Raid is not a backup! Would you go skydiving without a parachute?


    OMV 7x amd64 running on an HP N54L Microserver

  • From my understanding you have to use the absolute path i.e. /srv/dev-etc rather than the relative path /sharedolders

    I gave that a shot and it looks like it doesn't work for a select few apps. When I put my sonarr/radarr configs on the UnionFS path, it gives me errors about the database being corrupt. I also can't put a handful of other things on the UnionFS shared path.

    • Official Post

    I gave that a shot and it looks like it doesn't work for a select few apps. When I put my sonarr/radarr configs on the UnionFS path, it gives me errors about the database being corrupt. I also can't put a handful of other things on the UnionFS shared path.

    Well none of the above makes any sense as there is no information, however there is some information confirming what I have said. here here here
    So looking at the above the probability could be your directory structure as the /srv/dev/disk etc is the same as using /sharedfolders, however, there other issues surrounding /sharefolders and their use in UnionFS particularly Docker.

  • unionFS or rather mergerfs disables file caching so as not to double cache the file system (see the github page for mergerfs). This impacts things like databases and programs that need mmap functionality. So it's recommended not to place docker databases via mergerfs path. Use a direct path to branch drives instead or place the dockers on a none mergerfs disk.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!