Is this good setup?

Hello!
Im using this settings for the last year and it works good, but plex scan take age to scan my ibrary (35TB of movie).

Rclone:
[google]
type = drive
client_id =
client_secret =
service_account_file =
token = {“access_token”:"

[google_encrypt]
type = crypt
remote = google:
filename_encryption = standard
directory_name_encryption = true
password =
password2 =

[plexdrive2]
type = cache
remote = google_encrypt:Movies
plex_url = http://127.0.0.1:32400
plex_username =
plex_password =
chunk_size = 15M
info_age = 12h
chunk_total_size = 200G
plex_token =

I mount with cron:
/usr/bin/rclone mount --config “/root/.config/rclone/rclone.conf” --allow-non-empty --allow-other plexdrive2: /mnt/google_movie/ &

I have Intel 1275L cpu and 32GB memory(ram) and everything runs on Samsung 500 GB SSD.
Internet connection: 500 Mbit

Any solution or tip?
Thanks!
Regards

Have you made your own client ID?

https://rclone.org/drive/#making-your-own-client-id

You should really turn up your info_age and make the --dir-cache-time smaller than that so like 72h 80h or something.

https://rclone.org/cache/#mount-and-dir-cache-time

Plex integration makes scanning slower as that’s how it was designed as it only uses 1 worker so you should probably turn it off.

Make sure you are using the latest version as well.

Should i change this?
chunk_size = 15M
info_age = 12h
chunk_total_size = 200G
to
chunk_size = 15M
info_age = 80h
chunk_total_size = 100G
Thanks!

I probably make it 32M or 64M to reduce some API hits and speed things up.

Do u mean the chunk_size? Else everything looks good?
I use this for uploading to google every morning at 5

/usr/bin/rclone --config “/root/.config/rclone/rclone.conf” copy /home/gwildor/movie/ google_encrypt:Movies/16 --transfers 5 --checkers 16 --tpslimit 5 --contimeout 60s --timeout 300s --retries 3 --low-level-retries 10 --stats 1s

Yes on the mount it would be changing the chunk size. You need to remove the old chunks as well before you start it back up.

For your copy command, I’d guess that errors out quite a bit as you have 5 transfers and 16 checkers as google only does 10 transactions per second. What do the logs look like when you run that?

Its a script i found for a year ago :slight_smile: But i change that to, thanks!
Im really grateful for you help.
So i should change the checkers to 10?

Are you seeing an issues when you run it?

No, no error code. Everything has working good.
The only thing is the plex scan that takes age to scan. About 3-5 days.

Did you make your own client ID?

Yes! I have it already, but remove it here.
Im never looking at google site for errors :slight_smile:
All my stuff works automatic therefore i never think about it.

Thanks for the help Animosity022…