[tahoe-dev] Change the parameters(K-N) when using

David-Sarah Hopwood david-sarah at jacaranda.org
Mon Feb 28 11:06:49 PST 2011


On 2011-02-28 18:41, Jiawei Jiang wrote:
> Hello
> 
> A question about change the parameters(K-N) when using.
> 
> Assume that I have a grid with 10 servers with 3-6, and there are already
> files stored. With the scale growth of the grid, maybe to 100 nodes or even
> 1000, is there possibility to change the K-N parameter to a larger one (for
> example 20-40) without damaging the existing files. Another assumption would
> only customers have the encryption key.
> 
> In other words, is that possible to have two different settings of
> parameters on the same grid simultaneously.

There is no problem with that. The parameters for each file/directory are
set according to the tahoe.cfg of the uploading gateway at the time of the
upload.

Rebalancing, i.e. changing the parameters of existing files and putting
shares in the optimal places, is less automatic than we would like it to be.
Currently I think the easiest way to do that is to copy a directory tree
from the grid to a local filesystem and then copy it back (to a new directory
on the grid), then delete the original tree and allow its shares to expire.

(Note that 'tahoe cp' directly from one grid directory to another will not
have the desired effect, because the new tree will link to the old immutable
files.)

-- 
David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 292 bytes
Desc: OpenPGP digital signature
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20110228/1cbd1af3/attachment.pgp>


More information about the tahoe-dev mailing list