[tahoe-dev] can't upload a file

Zooko O'Whielacronx zookog at gmail.com
Wed May 29 16:40:16 UTC 2013


This is interesting!

Corruption of shares is pretty rare. It would most likely be caused by
something like the disk being full when a share was being written, or
a program accidentally overwriting parts of the files that contain the
shares, or some such. This report you got says that it found four such
corrupted shares! I'd like to know more. Which storage servers are
hosting those corrupted shares? Could we get copies of them to inspect
and see more information about what's corrupted in them?

Anybody who has those shares can share them with us without exposing
the plaintext file, of course -- a share contains only ciphertext and
LAFS-layer metadata like the file length in bytes and the time of
creation.

Pierre: if you could use the "verify" functionality and ask it to give
a report about that file then it will probably tell you which storage
servers have good shares, which have no shares, and which have corrupt
shares, of that file.

Regards,

Zooko

On Tue, May 28, 2013 at 4:14 AM, Pierre Abbat <phma at bezitopo.org> wrote:
> I tried to copy a file to the public directory and got this:
>
> Error examining target directory: 410 Gone
> "NotEnoughSharesError: This indicates that some servers were unavailable, or
> that shares have been lost to server departure, hard drive failure, or disk
> corruption. You should perform a filecheck on this object to learn more.
> \x0a\x0aThe full error message is:\x0aran out of peers: have 0 shares (k=3), 2
> queries in flight, need 1 more, found 4 bad shares, last failure: [Failure
> instance: Traceback: <class 'allmydata.mutable.common.CorruptShareError'>:
> <CorruptShareError peerid=ddvfcdns shnum[6]: block hash tree
> failure\x0a/usr/lib/python2.7/dist-
> packages/foolscap/eventual.py:26:_turn\x0a/usr/lib/python2.7/dist-
> packages/twisted/internet/defer.py:362:callback\x0a/usr/lib/python2.7/dist-
> packages/twisted/internet/defer.py:458:_startRunCallbacks\x0a/usr/lib/python2.7/dist-
> packages/twisted/internet/defer.py:545:_runCallbacks\x0a--- <exception caught
> here>
> ---\x0a/usr/lib/pymodules/python2.7/allmydata/mutable/retrieve.py:263:_got_results\x0a/usr/lib/pymodules/python2.7/allmydata/mutable/retrieve.py:305:_got_results_one_share\x0a]"


More information about the tahoe-dev mailing list