Unable to retrieve restored archive from AWS S3 'Invalid size value: 1g'

I have a 430G object that I archived to Glacier from S3 using lifecyle policies a few months ago. I’m following Archiving Amazon S3 Data to Amazon Glacier blog, and Transitioning to the GLACIER storage class (Object Archival)

Your restored object will remain in both Glacier and S3’s Reduced Redundancy Storage (RRS) for the duration of the retention period…..
Although the objects are archived in Glacier, you can’t get to them via the Glacier APIs….Because Amazon S3 maintains the mapping between your user-defined object name and the Amazon Glacier system-defined identifier, Amazon S3 objects that are stored using the Amazon Glacier option are only accessible through the Amazon S3 API

  • Node.JS proxy with Nginx and Docker
  • Hibernate database configuration for cloud deployment
  • AWS EC2 Container Service Container Id, what does this mean?
  • Docker registry on EC2
  • Can't mount HOST folder into Amazon Docker Container?
  • Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development, works localy tho
  • I restored the object to S3 through the console (took about 5 hours) It says that it’s available, but when I try to use the awscli to download the object I keep getting the error ‘Invalid size value: 1g’

    I’m trying to use the aws s3 cp command (works fine for other objects) to download to an EC2 instance. This instance has a role associated that is allowed to read/write to that S3 bucket/folder. I also checked that the ubuntu user has write permissions to where I’m trying to download the object.

    aws --version
    aws-cli/1.10.17 Python/2.7.10 Linux/4.2.0-30-generic botocore/1.4.8
    aws s3 cp s3://cab-arch/Backups/160211_Archive.tar 160211_Archive.tar

    Any help would be appreciated, I can’t find any info about this particular error.

  • Amazon ECS error: cannot create a task definition with no containers
  • Is it possible to launch privileged docker containers on Amazon elasticbeanstalk?
  • Install docker 1.2 on Amazon Linux AMI release 2014.03
  • How to launch my docker container automatically on ECS?
  • Create multiple Docker machines at once with docker-machine
  • Amazon AWS ECS Task delay
  • One Solution collect form web for “Unable to retrieve restored archive from AWS S3 'Invalid size value: 1g'”

    It turns out that this was actually caused by a docker bug. The filesystem I was trying to download to had previously been mounted by a docker container. Though docker ps did not show any running containers, an fd command showed that the container still had multiple “open” files on that filesystem. I killed docker and all was well again. Info on this docker bug

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.