Closed ThibaultLemaire closed 2 years ago
So, is Bind mounting now the default in the release, or still waiting to be? Oh, never mind, I see it still isn't. I'd prefer it to be the default.
No it still isn't.
I guess what happened is that @graysky2 deemed it too big of a change and wasn't ready to take the leap yet, then never had time to investigate and test thoroughly in the meantime.
As for me, I lost interest in this project when I realised the built-in I/O caching of common filesystem drivers was enough for me, and never pushed this PR any further. Though I did use this fork with bind-mounting for a few month on a Debian 8 box without any notable issue back then.
I didn't want to do the testing with bind mounting.... as-is, this works great on my systems. Running for years.
Been using your version as is for years, on 3 systems, one Ubuntu, and 2 Debian 8. But I did experience symlink-issues mentioned under Issues with some directories, so I just cut them out of the config. If the bind mounting would solve those issues, I'm tempted to try that, since apparently, even on a new Debian 9 machine, linux is not able to sufficiently use enough of the available RAM, I/O caching still isn't capable of doing what it can. I started using your tool when I got fed up seeing "4 GB free" on some of the servers I maintained. I then moved entire webserver vhosts into RAM and the performance results were stunning, even compared to serving from enterprise SSDs.
As mentioned above, this needs further testing. I did rebase my fork after @jult's comment though, on March 7, so there should be no problem merging with current master. If you are interested in this change, I can only suggest to do the testing yourself.
I am not sure if your fork still exists
Ah. Yes. I might have deleted it when cleaning up my old forks. Oops, sorry about that.
It looks like the commits are still there though, so you're welcome to make your own fork.
Ah. Yes. I might have deleted it when cleaning up my old forks. Oops, sorry about that.
It looks like the commits are still there though, so you're welcome to make your own fork.
Yes, I liked the idea regarding this a lot. I will take your work as an inspiration and try doing this. Thank you for your contribution
Switching from symlinking to bind-mounting. (Updated with latest commits from master)
Pros :
Cons :
Behaviour when using overlayfs needs to be tested (this and the use in conjunction with pacman), for I cannot test it myself, and therefore cannot guarantee it will work as expected.
Original pull request that got broken with style changes in master : #45