can't read data store meta-data: Input/output error

277 views
Skip to first unread message

Manoj Dahal

unread,
Aug 28, 2015, 1:41:03 PM8/28/15
to s3backer-devel
Hi,

If I run the s3backer command as following:

s3backer --accessFile=passwd-s3fs --baseURL=http://s3.amazonaws.com/ --blockSize=4K --size=2G --debug --listBlocks --vhost bucket s3backmnt

or even
s3backer --accessFile=passwd-s3fs --blockSize=4K --size=2G --debug --listBlocks --vhost bucket s3backmnt

then I get the following error:

s3backer: auto-detecting block size and total file size...
s3backer: can't read data store meta-data: Input/output error


The followings are the debug logs:

Aug 28 11:16:24 s3backer: HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:24 s3backer: rec'd 400 response: HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:24 s3backer: retrying query (attempt #2): HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:24 s3backer: rec'd 400 response: HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:24 s3backer: retrying query (attempt #3): HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:25 s3backer: rec'd 400 response: HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:25 s3backer: retrying query (attempt #4): HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:25 s3backer: rec'd 400 response: HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:27 s3backer: retrying query (attempt #5): HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:27 s3backer: rec'd 400 response: HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:30 s3backer: retrying query (attempt #6): HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:31 s3backer: rec'd 400 response: HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:37 s3backer: retrying query (attempt #7): HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:37 s3backer: rec'd 400 response: HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:50 s3backer: retrying query (attempt #8): HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:50 s3backer: rec'd 400 response: HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:55 s3backer: retrying query (attempt #9): HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:55 s3backer: rec'd 400 response: HEAD http://bucket.s3.amazonaws.com/00000000
Aug 28 11:16:55 s3backer: giving up on: HEAD http://bucket.s3.amazonaws.com/00000000


I looked at the previous posts, but was not able to identify the problem. The bucket permissions have listing/upload/delete/view permission to everyone.
I can operate on the bucket from the AWS management console without any problems.

Here in the command and the logs the original bucket name is replaced with the word 'bucket'.

Please let me know if you have any clue about this issue.

Thanks in advance,

~Manoj

Archie Cobbs

unread,
Aug 28, 2015, 1:44:45 PM8/28/15
to s3backe...@googlegroups.com
Try adding the --debug-http and -f flags to run in the foreground and show the HTTP traffic. There should be an error message embedded in the 400 response that may give you a hint to what the problem is.

Also, why are you using --baseURL ? Perhaps Amazon is rejecting this because its not HTTPS.

-Archie

--
You received this message because you are subscribed to the Google Groups "s3backer-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to s3backer-deve...@googlegroups.com.
To post to this group, send email to s3backe...@googlegroups.com.
Visit this group at http://groups.google.com/group/s3backer-devel.
For more options, visit https://groups.google.com/d/optout.



--
Archie L. Cobbs

Manoj Dahal

unread,
Sep 2, 2015, 8:32:57 AM9/2/15
to s3backer-devel
Specifying the bucket location with "region" option works fine for me.

Thanks,

~Manoj
Reply all
Reply to author
Forward
0 new messages