-
Notifications
You must be signed in to change notification settings - Fork 57
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
Different size between uploaded and local #100
Comments
Maybe this http://unix.stackexchange.com/a/94389 ?
|
I will try a little later, as I started uploading two big files, I will move them after it finishes upload, and will check then. One note, if a file is moved before it even starts the upload with sync the whole application crashes. |
Need a stacktrace for crash. Maybe this is by design
|
For the stack trace, just remove any file during sync that hasn't started. $ export f=`cut -f 5 pictures.journal`
$ echo $(( ${f//$'\n'/+} ))
143196283006
$ du -shb --apparent-size
143196319870
Again the same difference. Would re-downloading the journal, find errors if there are? |
I think would be good to 1) compare number of files 2) compare files one by one to find file(s) with wrong sizes.
I don't think so, since check-local-hash says all ok. check-local-hash takes all files from journal and comparse size + checksum for each. Idealy, if there is no bug in mtglacier, |
Ok, I reproduced and started issue #101
I tested your code, it's seems
In your case |
I was wondering I uploaded some file to amazon glacier using the sync command.
There are a total of 125 files.
The local size is: 112907687148 bytes
But the uploaded size is: 112907650284 bytes
As you can see there is a difference of ~30MB between the data, can you tell me why?
To get the size from the journal I did the following
Running the check-local-hash says that everything is OK.
I issued a new inventory, so I can recreate the journal and run a check-local-hash again.
The text was updated successfully, but these errors were encountered: