Unsure if RO/NC branch mode flag is being ignored, or am I misunderstanding eplus create policy #1251
-
Hi there, first of all - thanks for taking the time to take a look at this. I'm not really sure if I'm just misunderstanding the documentation and some of the discussions/issues raised on here, or I'm facing a bug - but here goes! My use case is:
I've got a mount command like this
SoI've got an underlying file structure like this
If I try write a file to the mergerfs mount folder, into the 'repository-1' folder So obviously Could you just clarify how this works? Does the =RO / =NC branch mode block any attempt to create a file on that branch? And if it does, doesn't eplus respect this and realise it cannot write to that branch so much fallback to another drive? Is something wrong with my command maybe? Just for reference, I am on |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
There really isn't more to say than what is in the docs. https://github.com/trapexit/mergerfs#filtering For each branch:
The relative path to
https://github.com/trapexit/mergerfs#what-policies-should-i-use |
Beta Was this translation helpful? Give feedback.
-
Thanks for responding so quick @trapexit, appreciate all your efforts! Is it possible to configure so that if the existing path is readonly, fallback and create the path/file on a different branch? I guess maybe something similar to I think I've got a similar use-case to this user here where I could double mount mergerfs to achieve want I want (albeit this is not recommended)
Does this maybe make my use case a bit more clear? I don't see an option offered policy wise that really covers this |
Beta Was this translation helpful? Give feedback.
Then use a
msp*
policy.