Rclone: Difference between revisions

Jump to navigation Jump to search
no edit summary
mNo edit summary
No edit summary
 
Line 85: Line 85:
== No problems, only solutions ==
== No problems, only solutions ==


1. I cannot upload file larger than 48GB.  
=== I cannot upload a file larger than 48GB. ===
In some situation rclone is not able to guess the size of the file to upload and use the default value of`--s3-chunk-size 5M` to spit and upload file to the bucket. But since the server has a 10,000 chunk limit, the upload crashes. You can solve that by setting a larger  value:
In some situations, rclone is not able to guess the size of the file to upload and use the default value of <code>--s3-chunk-size 5M</code> to spit and upload the file to the bucket. But since the server has a 10,000 chunk limit, the upload crashes.
 
You can solve that by setting a larger  value:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
$rclone copy --s3-chunk-size 50M my-large-file.cram my-project:test
rclone copy --s3-chunk-size 50M my-large-file.cram my-project:test
</syntaxhighlight>
</syntaxhighlight>
Another way is to lower the maximum number of parts in a multipart upload using [https://rclone.org/s3/#s3-max-upload-parts --s3-max-upload-parts], for example: <code>--s3-max-upload-parts 1000</code>.


Note that you need the ram of your computer to be larger that chunks.
Note that you need the ram of your computer to be larger that chunks.
5

edits

Navigation menu