Trying a few things out here to get my OMV5 nas performance upto snuff. I really like/need mergerfs but the overhead definately bottlenecks the main share using it. Even on 10gbe the mergerfs/nfs share is stuck at around 50mb/s write with a "sync" mount and it's too bursty, but not really any faster with "async" mount. After looking around a bit I decided to give cachefs a try, but I ran into an issue:
I've mostly followed this https://blog.frehi.be/2019/01/03/fs-cache-for-nfs-clients/ but I get an error trying to start the service.
Jul 11 16:36:26 openmediavault.local cachefilesd: Warning: Fake start-stop-daemon called, doing nothing.Jul 11 16:36:26 openmediavault.local systemd: cachefilesd.service: Control process exited, code=exited, status=1/FAILUREJul 11 16:36:26 openmediavault.local systemd: cachefilesd.service: Failed with result 'exit-code'.
I don't see anything worth looking at in journalctl. The tutorial mentions a Debian bug that is supposed to be fixed by editing the /etc/cachefilesd.conf and commenting out this line:
But it's already commented out in the Debian package.
The server side fstab mount for the cache ssd is
I read elsewhere that user_xattr is important for this but I'm not sure it matters for getting the service to start. Any ideas?