unable to write to mergerfs pool #1222
Replies: 4 comments 5 replies
-
https://github.com/trapexit/mergerfs#filtering mergerfs only returns what the OS tells it to or in the case it filters out everything ENOSPC or ENOENT or EROFS as shown in the docs. You told it to search in order. /mnt/local must be being filtered out and because you said /mnt/cloud=NC it returns EROFS because that was the last error. You have to look at your setup and figure out why /mnt/local is skipped. I can't help you further without more info: https://github.com/trapexit/mergerfs#support |
Beta Was this translation helpful? Give feedback.
-
you might be correct because i notice if i change /mnt/media to rw leaving first found on it wouldn't give a read only error how ever it would still only write to the /mnt/media branch despite being listed second, same thing when I use lfs which is the /mnt/local path its still writes to /mnt/media so for some reason its filtering out or skipping /mnt/local. the only thing that has changed since it was working correctly was i implemented script to copy the contents of /mnt/local to /mnt/media and delete the originals and a service and timer so it executes every 4 hours is it possible that the service might be doing something to the /mnt/local path causing it to be skipped. Also I should mention I am able to create files directly to the /mnt/local path.
its a long shot because ive tried disabling all scripts and services but I still can't write to /mnt/pcnasmerge. Can you tell me the best course of action to figure out what could be causing this issue ? |
Beta Was this translation helpful? Give feedback.
-
for testing purposes i unmounted the /mnt/pcnasmerge and commented out the fstab entry then i manually mounted it again using this command
everything worked perfectly i was able to create files and folders in the /mnt/pcnasmerge directory and the files went straight to the /mnt/local folder as expected behavior, afterwards i restarted my docker containers for sonarr and radarr and the movies and tv shows imported without a hitch to the /pcnasmerge directory. afterward I unmounted again and simplified my fstab entry to shadow the manual mount i just tested and confirmed to work correctly
something going on with the fstab causing the filtering issues |
Beta Was this translation helpful? Give feedback.
-
because my local network speeds are quite slow, ive decided to use mergerfs to help make media available to plex faster for playback rather than wait the long times for files to be moved over to the nas after being downloaded for context I want to lay out my order of processes
after a few weeks of testing, my setup is working almost exactly as intended, however I'm still having a problem with sonarr. when i add a new show sonarr creates a new directory in the merger pool path and everything works perfectly. The issue only happens when it needs to add an episode to an already existing show directory in the merger pool that has since been copied over to the nas branch from the regularly scheduled script. In the eyes of sonarr nothing should of changed because the shows directories are still visible in the merger pool path even though they were copied to the second branch but for some reason it can tell something is off and this is the error I get. I don't believe I'm having a permissions issue because I have no problems downloading new or existing shows when setting the download path in sonarr directly to /mnt/media (my nas branch) or to /mnt/local(my local branch) also ive opened all permissions to any user or group. I know this might be more of a sonarr issue but i thought i would ask here because maybe I'm missing something with the merger pool mount that needs to be added so sonarr wont run into problems.
|
Beta Was this translation helpful? Give feedback.
-
hello with the help of chatgpt ive been trying to mimic a setup a had provided by a now no longer supported software called plexguide. essentially it used mergerfs to pool together google drive and a local folder. because of the rising prices of cloud storage i purchased a nas and I'm trying to configure mergerfs to do the same thing since large 4k files take quite some time to be copied over to the nas and I want plex to have access to them as soon as possible. I created this pool in my fstab
mergerfs#/mnt/local=RW:/mnt/media=NC /mnt/pcnasmerge fuse.mergerfs direct_io,defaults,sync_read,auto_cache,dropcacheonclose=true,use_ino,allow_other,func.getattr=newest,category.create=ff,minfreespace=0 0 0
the goal is to always make new files be created on the /mnt/local branch and a separate script would copy them over to the nas and delete the originals when the copy is complete. the first day i set this up and sonarr and radarr had no issues downloading files to the merger pool /mnt/pcnasmerge but im not sure what has since happened all my downloads cannot be imported to this path
2023-8-6 07:29:48.1|Warn|ImportApprovedMovie|Couldn't import movie /mnt/unionfs/sabnzbd/The Big Four 2022 1080p WEB h264-KOGi/The.Big.Four.2022.1080p.WEB.h264-KOGi.mkv
[v3.0.2.4552] System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/pcnasmerge/movies/The Big 4 (2022)/The Big 4 (2022) WEBDL-1080p.mkv'.
at System.IO.FileSystem.LinkOrCopyFile(String sourceFullPath, String destFullPath)
before i started trying to sort out what was going on with those apps i simply tried to just use the command line to create a directory in the merger pool directory and i keep on getting this error
ronald@homeserver:/mnt/pcnasmerge$ sudo mkdir testingpurposes
mkdir: cannot create directory ‘testingpurposes’: Read-only file system
chatgpt is claiming that i need both branches to be rw in order for the merger path to also be rw but don't think this is correct because the merger pool made by plexguide for the google drive unionfs uses these same rules and work fine can anyone provide me with guidance on how to correctly get this working as intended.
Beta Was this translation helpful? Give feedback.
All reactions