My server:
Ubuntu 18.04 hwe recommended. Dedicated 1 Gbps dublex with 2xNvme. I am running cloudbox
My usage case:
I am using this server to stream via Plex my videos and audio files. I installed Komga, a cbr reader. I have my comics on my Gdrive (unionfs), however the comics don't load at all when I click to read them. The scanning itself takes ages. I am using Komga in a docker container, which is set up properly. Other users who have similar settings say their loading takes 30 seconds for every 3 pages, despite all of us using --vfs-cache-mode=full .
I eventually found my problem. There was a permission issue on the .../.cache/rclone folder. It was root, when it should have been user:user.
To the future reader reading this. For this case scenario, having plex and komga at the same time streaming from GDrive can be a little bit tricky. The best way to do it is to create a different mount for Komga, as the files are smaller than the videos (if you are using plex for videos like myself), so the rclone flags can be different. So for this case scenario my suggestion would be to create a share drive/teamdrive on Google Drive. This way, the teamdrive mount will have its own vfs.service files.
These are the flags I used with mine (special thanks to Max)
My comics now load instantly, around 1 second to load the whole comic ''streaming'' remotely. Yes ! you heard my right! Of course you need the rclone version which allows --vfs-cache-mode full .