What is the problem you are having with rclone?
When attempting to copy a 54.779 GiB local file to the remote with --s3-upload-concurrency
higher than 2, rclone
attempts to PutBucket
a single time. When it fails(because the file is too large), it seems to just stop, instead of attempting a multi-part upload.
rclone
does not provide any visual indication that it is failing, other than the fact that progress does not advance.
It appears that it does eventually succeed, but it takes about 5 minutes to start. No idea if this still qualifies as a bug, or just as a slight issue...
This adventure goes deeper and deeper. After letting it run for a while, it starts about 50 multipart uploads, running at around 150 MiB/s, but then stops making new chunks. It then begins to slow down the transfer, until it hits 0/s. Around 5 minutes later, it fires another 10 chunks, speeds up, then slows down again.
This is on a connection that normally runs around ~400 MB/s, and while I don't expect full utilization, this still seems extremely odd...
Run the command 'rclone version' and share the full output of the command.
rclone v1.61.1
- os/version: ubuntu 22.10 (64 bit)
- os/kernel: 5.19.0-31-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.4
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy /media/alastair/7a70a803-7d9e-4711-a945-5d1791ec1507/planet.pmtiles r2:/protomap --s3-upload-cutoff=100M --s3-chunk-size=100M --s3-upload-concurrency=10 -vv -P
The rclone config contents with secrets removed.
[Drive]
type = drive
scope = drive.readonly
token = {"access_token":"SOME_GOOGLE_ACCESS_TOKEN","token_type":"Bearer","refresh_token":"SOME_GOOGLE_REFRESH_TOKEN","expiry":"2022-06-20T18:06:37.677412+02:00"}
team_drive =
[r2]
type = s3
provider = Cloudflare
access_key_id = ACCESS_KEY_ID
secret_access_key = SECRET_ACCESS_KEY
region = auto
endpoint = R2_ENDPOINT
A log from the command with the -vv
flag
2023/02/20 18:15:29 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "copy" "/media/alastair/7a70a803-7d9e-4711-a945-5d1791ec1507/planet.pmtiles" "r2:/protomap" "--s3-upload-cutoff=100M" "--s3-chunk-size=100M" "--s3-upload-concurrency=10" "-vv" "-P"]
2023/02/20 18:15:29 DEBUG : Creating backend with remote "/media/alastair/7a70a803-7d9e-4711-a945-5d1791ec1507/planet.pmtiles"
2023/02/20 18:15:29 DEBUG : Using config file from "/home/alastair/.config/rclone/rclone.conf"
2023/02/20 18:15:29 DEBUG : fs cache: adding new entry for parent of "/media/alastair/7a70a803-7d9e-4711-a945-5d1791ec1507/planet.pmtiles", "/media/alastair/7a70a803-7d9e-4711-a945-5d1791ec1507"
2023/02/20 18:15:29 DEBUG : Creating backend with remote "r2:/protomap"
2023/02/20 18:15:29 DEBUG : r2: detected overridden config - adding "{ZdEwv}" suffix to name
2023/02/20 18:15:29 DEBUG : fs cache: renaming cache item "r2:/protomap" to be canonical "r2{ZdEwv}:protomap"
2023-02-20 18:15:30 DEBUG : planet.pmtiles: Need to transfer - File not found at Destination
Transferred: 0 B / 54.779 GiB, 0%, 0 B/s, ETA -
Transferred: 0 / 1, 0%
Elapsed time: 29.5s
Transferring:
* planet.pmtiles: 0% /54.779Gi, 0/s, -