[chord] dbm and chord

Emil Sit sit at MIT.EDU
Mon May 3 10:04:17 EDT 2004


Elaine, Patrick,

> >./dbm 0 /tmp/chord-sock 128 8192 - s 0 1
> dbm: dhashclient::insert failed (2):
> ada4c021f47b9cbf0421abf2d4e407d56ef7953d: DHASH_STOREERR

How did you start lsd?  What version of Chord are you using?

DHash, Chord's block storage layer, requires that a certain number
of nodes are present in the Chord ring before it can successfully
store a block.  In the default configuration, you need about
16 "virtual" nodes in the system.  One way to achieve this is
to start lsd with "-v 16".  Another way would be to run multiple
lsd's.  Note that if you run more than one lsd, you should use
the -d, -S, and -C flags to specify separate locations for each
lsd's database, dhash socket, and management socket.

(Btw, also note that the first argument to dbm is required but
ignored.  This is for somewhat historical reasons.)  

Good luck.  

-- 
Emil Sit / MIT LCS PDOS / http://pdos.lcs.mit.edu/chord/  



More information about the chord mailing list