Cache a encrypted Gdrive mount? [Solved]

I currently have my Gdrive mounts set up like this:

Name — Type
Gdrive — drive <- which is just connected with my Google drive account.
MediaCrypt — crypt <- which is setup like this: “remote” = Gdrive:MediaCrypt

Both then mounted in this fashion:
rclone mount --max-read-ahead 1024k --allow-other Gdrive: /mnt/disks/Gdrive &
rclone mount --max-read-ahead 1024k --allow-other MediaCrypt: /mnt/disks/MediaCrypt &

How would or should I enable a cache mount for usage with Plex?
It is somewhat confusing to me, as I only seem to be able to mount a empty folder out of it.

For GD, you either need to use cache or vfs-read-chunk-size. I personally use:

/usr/bin/rclone mount gcrypt: /GD --allow-other --dir-cache-time 48h --vfs-read-chunk-size 32M --vfs-read-chunk-size-limit 2G --tpslimit 5 --tpslimit-burst 5 --umask 002 --bind --log-level INFO --log-file /home/felix/logs/rclone.log

If you want to use cache, you’d configure GD->Cache->Decrypt.

It’s described here ->

1 Like

Thanks for your reply.
I was able to mount and have the correct files show up as in your “/GD” directory.

I found this topic by you:

Which was also being represented here:

Your VFS mount method seems to have received positive feedback in usage with Plex.

I guess I can just drop the Cache configuration and use your VFS command and use that mount for my Plex library, correct? Or have I missed something imported if I just used your mentioned commands here in this topic?

I currently do not use the cache myself and just use the VFS method. You are correct.

1 Like