Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EntityTooLarge: fail to cp file with 6.3GB from one bucket to another bucket #29

Open
tony710508 opened this issue Nov 27, 2019 · 11 comments

Comments

@tony710508
Copy link

fail to cp file with 6.3GB from one bucket to another bucket

EntityTooLarge: Your proposed upload exceeds the maximum allowed object size

@JoshuaEdwards1991
Copy link

JoshuaEdwards1991 commented Nov 27, 2019

I have also just encountered this issue, has something changed?
Note: this is between s3 buckets and not from EBS to S3

@igungor
Copy link
Member

igungor commented Feb 24, 2020

Thanks for the report. We're using the official AWS SDK. Copying objects (from S3 to S3) larger than 5GB requires multipart uploading which we currently don't leverage.

https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html

You create a copy of your object up to 5 GB in size in a single atomic operation using this API. However, for copying an object greater than 5 GB, you must use the multipart upload Upload Part - Copy API.

We're going to use the multipart Copy API to support large file transfers between S3 buckets. Please note that uploading a large file to S3 works as expected.

@igungor
Copy link
Member

igungor commented Feb 28, 2020

aws/aws-sdk-go#2653 PR is required to address this issue.

@AravindhStanley
Copy link

Just checking if there is any news on this issues. I could make use of this feature in my workflow. Not sure that PR @igungor mentioned is merged/ what's stopping that merge.

@rosibaj
Copy link

rosibaj commented May 10, 2022

Is there any update on the status of this issue?

@batic
Copy link

batic commented Jul 7, 2022

Similar problem is with sync when file is larger than 5G.

@az-z
Copy link

az-z commented Nov 14, 2022

case:
source - has objects
dest - is empty

s3cmd sync source/* dest/

"sync" fails silently on the first run after copying some objects.
"sync" will fail on the second run and report the offending object

@az-z
Copy link

az-z commented Nov 14, 2022

actually, bring us to the question - how do we exclude files from cp/sync ?

@tooptoop4
Copy link

@matan129
Copy link
Contributor

Any updates?

@tweep
Copy link

tweep commented May 1, 2023

Ran into this today - any updates on this or is there a work-around ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

10 participants