Final working config on MacOS, any advices

What is the problem you are having with rclone?

No problem, I used the excellent work from animosity with forum helps regarding macos issues.
Now upload are fast, preview is possible, download is ok, I'm happy !

Btw, I'm using 4x mount points using different crypt password on the same google drive.

  • I was wondering if I there is any ban risk ?
  • I would like advices about caches and restart or flush if necessary ?

What is your rclone version (output from rclone version)

rclone v1.53.1

  • os/arch: darwin/amd64
  • go version: go1.15.1

Which OS you are using and how many bits (eg Windows 7, 64 bit)

macOS Catalina 10.15.7

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Paste command here

The rclone config contents with secrets removed.


[gdrive]
type = drive
scope = drive

[video]
type = crypt
remote = gdrive:/video
filename_encryption = standard
directory_name_encryption = true

[docs]
type = crypt
remote = gdrive:/docs
filename_encryption = standard
directory_name_encryption = true

[backups]
type = crypt
remote = gdrive:/backups
filename_encryption = standard
directory_name_encryption = true

[private]
type = crypt
remote = gdrive:/private
filename_encryption = standard
directory_name_encryption = true

Exemple of a mount command

/usr/local/bin/rclone cmount \
    --dir-cache-time 1000h \
    --log-level INFO \
    --log-file "$LOG_DIR/$CONFIG.log" \
    --poll-interval 15s \
    --umask 002 \
    --user-agent mine \
    --rc \
    --rc-addr :$PORT \
    --rc-no-auth \
    --cache-dir="$CACHE_DIR" \
    --vfs-cache-mode full \
    --vfs-cache-max-size 500G \
    --vfs-cache-max-age 336h \
    --transfers 8 \
    --volname "$VOL_NAME" \
    -o modules=iconv,from_code=UTF-8,to_code=UTF-8-MAC \
    "${CONFIG}:/" "$MOUNT_POINT"

A log from the command with the -vv flag

Paste  log here

that does nothing on a mount.

Ok, I didn't know
There is so no way to reduce google stress to avoid any ban?

what is this --rc-addr :$PORT \ ?? what should i put in mines ?

never heard of anyone getting banned.

if can happen you might not be able to use the service for a short period of time.
gdrive has a bunch of quotas such as
https://rclone.org/drive/#drive-stop-on-upload-limit
https://rclone.org/drive/#quota-information

and if for some reason, you have hitting some api limits per second, rclone will automatically slow down the number of transactions per second,

and make sure you have done this

1 Like

I use --tpslimit to reduce the amount of files that can transfer per second.

Google will apply a temp block causing 403 errors if you have sustained usage above 10 transfers per second.

If you have multiple mounts or other processes accessing your gdrive, remember to take this into consideration. As I have 3 mounts on different machines and a cron job scheduled to copy files to my gdrive, I set all four to --tpslimit 2, guaranteeing I never risk triggering the temp block. it goes away after a certain amount of hours, but that doesn't help if you want to access something and you're getting 403s :wink:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.