[tahoe-lafs-trac-stream] [tahoe-lafs] #699: rebalance during repair or upload
tahoe-lafs
trac at tahoe-lafs.org
Sat Mar 3 18:46:35 UTC 2012
#699: rebalance during repair or upload
-------------------------+-------------------------------------------------
Reporter: zooko | Owner:
Type: defect | Status: new
Priority: major | Milestone: eventually
Component: code- | Version: 1.4.1
peerselection | Keywords: upload repair preservation test
Resolution: | anti-censorship
Launchpad Bug: |
-------------------------+-------------------------------------------------
Comment (by amontero):
Replying to [comment:12 sickness]:
> I've found the same behaviour experimenting with 1.8.0 on 10 nodes with
3-7-10.
> I've tried to upload a file with one of the servers shut down, it said
ok and put:
> 1 share on 8 servers, 2 shares on 1 server, 0 shares on the shut down
server (obviously).
> Then when I've powered the shutdown server back on, I've tried to do a
repair on that file, it
> said that it needed rebalance but didn't do it no matter what.
> The solution was following zooko's advice in this mail:
> http://tahoe-lafs.org/pipermail/tahoe-dev/2009-May/001735.html
> and
> http://tahoe-lafs.org/pipermail/tahoe-dev/2009-May/001739.html
> So basically I've deleted 1 of the 2 shares of the server with 2 shares
and then repaired the file.
> Now all the servers had 1 share.
> I'd like to have an option to tell the uploader to never put more than N
shares per server "no matter what" (I'd set it at 1 because I don't want
one server to hold more "responsability" that I've planned to...)
> tnx! :)
Hi sickness.
I'm following zooko's advice, since I have the same problem. My use case
is described in #1657 if you're interested.
I've created a [http://pastebin.com/6w8AibEf bash script] that may help
you. It's not the most efficient way of doing it, but saves me a lot of
time.
If some maintainer can upload it to some misc tools folder i the repo,
maybe others will be able to use it as starting point and hopefully
improve it, since my bash skills are somewhat limited.
Hope you find it useful.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/699#comment:14>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list