I've seen multiple threads about slow upload speed, and have read through them thouroughly, but I haven't found anything that seems to help my specific scenario. I have scoured rclone forums, and google but I haven't been able to find anything useful. I'm hoping somebody here could shed some light.
What is the problem you are having with rclone?
The problem seems to be with a combination of uploading, combined with the mounting. Either I get really slow upload speeds (3.8MB/s), or if I change the code a little bit, I can get 25MB/s but it seems like the drive unmounts itself and then the copying fails.
What is your rclone version (output from rclone version
)
rclone v1.52.0
- os/arch: windows/amd64
- go version: go1.14.3
Which OS you are using and how many bits (eg Windows 7, 64 bit)
The issue happens both on my HTPC (Plex server) with modest system hardware (Win 7 x64, 8gb RAM, built in GPU), or even on my gaming rig (Win10 x64, 32GB ram, Ryzen 7 2700x, RTX 2080 GPU). I have a 400 MB down / 50 MB up internet connection.
Which cloud storage system are you using? (eg Google Drive)
Google Team Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone mount --allow-other gcrypt: X:
and
rclone copy --progress F:\Movies X:\Movies
yields a reliable 3.8MB/s, and the upload completes but it takes over 50 hours to upload 750GB.
rclone mount gcrypt: X: --allow-other --cache-db-purge --buffer-size 32M --use-mmap --dir-cache-time 72h --drive-chunk-size 16M --timeout 1h --vfs-cache-mode minimal --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit 1G &
with the same copy command yields speeds that vary from 40MB/s to 25MB/s, but it always fails aprox 10-20 minutes into the uploads. It starts to read a bunch of errors that it can not access the files, and the X: drive is visible in "This PC" but when you click it, it is unable to load or open.
(Admittedly, I found this code online and I'm not clear exactly on what it does)
The rclone config contents with secrets removed.
type = drive
client_id = REDACTED
client_secret = REDACTED
scope = drive
use_trash = false
chunk_size = 16M
token =REDACTED
[gcache]
type = cache
remote = gdrive:/gdrive
plex_url = http://10.0.0.202:32400
plex_username = REDACTED
plex_password = REDACTED
chunk_size = 16M
info_age = 2d
chunk_total_size = 20G
plex_token = REDACTED
[gcrypt]
type = crypt
remote = gcache:
password = REDACTED
password2 = REDACTED
A log from the command with the -vv
flag
f:\Users\XXX\Downloads\rclone>rclone copy \\HTPC-PC\Movies\2 X:\Movies\2 --progress -vv
2020/06/11 20:12:32 DEBUG : rclone: Version "v1.52.0" starting with parameters ["rclone" "copy" "\\\\HTPC-PC\\Movies\\2" "X:\\Movies\\2" "--progress" "-vv"]
2020/06/11 20:12:32 DEBUG : Using config file from "C:\\Users\\XXX\\.config\\rclone\\rclone.conf"
2020/06/11 20:12:32 DEBUG : fs cache: renaming cache item "\\\\HTPC-PC\\Movies\\2" to be canonical "//?/UNC/HTPC-PC/Movies/2"
2020/06/11 20:12:32 DEBUG : fs cache: renaming cache item "X:\\Movies\\2" to be canonical "//?/X:/Movies/2"
2020-06-11 20:12:32 DEBUG : Local file system at //?/X:/Movies/2: Waiting for checks to finish
2020-06-11 20:12:32 DEBUG : Local file system at //?/X:/Movies/2: Waiting for transfers to finish
2020-06-11 20:24:21 DEBUG : Madagascar (2005).mkv: MD5 = 231e560927c9c3665b9eaf6a2799252a OK
2020-06-11 20:24:21 INFO : Madagascar (2005).mkv: Copied (new)
2020-06-11 20:36:38 DEBUG : Madagascar 2 - Escape 2 Africa (2008) 1080p.mkv: MD5 = eeffc6424d3296e652e55a285f502f71 OK
2020-06-11 20:36:38 INFO : Madagascar 2 - Escape 2 Africa (2008) 1080p.mkv: Copied (new)
2020-06-11 20:44:26 DEBUG : LOTR4 - The Hobbit - An Unexpected Journey (2012) 1080p.mkv: MD5 = ef85ecbcac69576fc2305fb20de1f71c OK
2020-06-11 20:44:26 INFO : LOTR4 - The Hobbit - An Unexpected Journey (2012) 1080p.mkv: Copied (new)
2020-06-11 20:45:00 DEBUG : LOTR5 - The Hobbit - The Desolation Of Smaug 1080p (2013).mkv: MD5 = db3e87d5d94a8017aa196faaaa5a2ff1 OK
2020-06-11 20:45:00 INFO : LOTR5 - The Hobbit - The Desolation Of Smaug 1080p (2013).mkv: Copied (new)
2020-06-11 20:52:24 ERROR : Madagascar 3 Europe's Most Wanted (2012) 1080p.mkv: Failed to copy: chtimes \\?\X:\Movies\2\Madagascar 3 Europe's Most Wanted (2012) 1080p.mkv: The I/O operation has been aborted because of either a thread exit or an application request.
Transferred: 57.210G / 738.549 GBytes, 8%, 24.100 MBytes/s, ETA 8h2m29s
Errors: 1 (retrying may help)
Transferred: 4 / 95, 4%
Elapsed time: 40m30.8s
Transferring:
* Mission Impossible 1 (1996) 1080P.mkv: 0% /9.108G, 0/s, -
* LOTR6 - The Hobbit - T…rmies 1080p (2014).mkv: 95% /14.963G, 0/s, 0s
* Mighty.Morphin.Power.R….DD5.1.H.264-AJP69.mkv: 35% /2.637G, 0/s, 2001635h15m8.908383744s
* man.of.steel.2013.1080…luray.x264-sector7.mkv: 12% /9.830G, 0/s, 840493h39m48.0896768s