[chord] Question of building sfs

Frank Dabek fdabek at MIT.EDU
Mon Jun 7 23:21:40 EDT 2004



Y Chen wrote:
> Hi
> 
> According to Chord HOWTO, I don't need further step to build SFS, but when I run
> the configure script by
> 
>>~/src/sfs1/configure --with-dmalloc --with-db3
> 
> 
> there are errors and needs me to create sfs user and sfs group
> 

If you need to build SFS you'll need to craete a user for SFS or specify 
one with --with-sfsuser.

Try --with-sfsuser=root --with-sfsgroup=wheel

> ...
> checking for sfs user and group... [No user sfs. No group sfs.] no
> configure: error: Create sfs user/group or use --with-sfsuser/--with-sfsgroup
> ...
> 
> I am one user of a Linux system, have no permission of changing the file of
> /etc/passwd and /etc/group
> 
> Is there any way to avoid this?
> 
> Thanks a lot.
> 
> Yin
> 
> 
> 
> 
> 
> 
> 
> Quoting Frank Dabek <fdabek at MIT.EDU>:
> 
> 
>>Yin,
>>
>>	Try the -v option to create virtual nodes in one process. Run lsd with
>>"-v 16".
>>
>>--Frank
>>
>>Y Chen wrote:
>>
>>>Thanks for the hint. But I cannot find 16 machines, I only have 4. And I am
>>>failure in set one machine as two or more nodes in the chord ring: when I
>>
>>set
>>
>>>one port number as a peer, I cannot set another port number to join the
>>>network, this cause the previour port failed(I used ./lsd -j). Is there any
>>
>>way
>>
>>>to set one machine as two or more peers to join the chord network?
>>>
>>>Cheers!
>>>
>>>Yin
>>>
>>>
>>>
>>>Quoting Frank Dabek <fdabek at MIT.EDU>:
>>>
>>>
>>>
>>>>Are there at least 16 nodes (virtual or otherwise) in  your system?
>>>>DHash fragments blocks into 16 smaller fragments and requires at least
>>>>that many nodes to store them.
>>>>
>>>>-Frank
>>>>
>>>>Y Chen wrote:
>>>>
>>>>
>>>>>Hi
>>>>>
>>>>>When I tried command
>>>>>./dbm 0 /tmp/chord-sock 128 8192 - s 0 1
>>>>>
>>>>>there are some error messges:
>>>>>
>>>>>...
>>>>>dbm: dhashclient::insert failed (2):
>>>>
>>>>958192ea4dd14b77d2695f06b058675a9499d63e: D
>>>>
>>>>
>>>>>HASH_STOREERR
>>>>>dbm: store_cb: 958192ea4dd14b77d2695f06b058675a9499d63e DHASH_STOREERR
>>>>>store error
>>>>>dbm: dhashclient::insert failed (2):
>>>>
>>>>d704416507c64fffe8dac35c30c5da35adfe2106: D
>>>>
>>>>
>>>>>HASH_STOREERR
>>>>>dbm: store_cb: d704416507c64fffe8dac35c30c5da35adfe2106 DHASH_STOREERR
>>>>>store error
>>>>>dbm: dhashclient::insert failed (2):
>>>>
>>>>432483274c17d045e68a443bc37f1b45e7982fb1: D
>>>>
>>>>
>>>>>HASH_STOREERR
>>>>>dbm: store_cb: 432483274c17d045e68a443bc37f1b45e7982fb1 DHASH_STOREERR
>>>>>store error
>>>>>dbm: dhashclient::insert failed (2):
>>>>
>>>>d177696c8bf6e13d12a98e6317b9b6a200203584: D
>>>>
>>>>
>>>>>HASH_STOREERR
>>>>>dbm: store_cb: d177696c8bf6e13d12a98e6317b9b6a200203584 DHASH_STOREERR
>>>>>store error
>>>>>dbm: dhashclient::insert failed (2):
>>>>
>>>>ada4c021f47b9cbf0421abf2d4e407d56ef7953d: D
>>>>
>>>>
>>>>>HASH_STOREERR
>>>>>dbm: store_cb: ada4c021f47b9cbf0421abf2d4e407d56ef7953d DHASH_STOREERR
>>>>>store error
>>>>>Total Elapsed: 173.470993
>>>>>
>>>>>What's the problem of this?
>>>>>
>>>>>Thanks for the answers for all my previours questions, and waiting for the
>>>>>reply.
>>>>>
>>>>>Cheers!
>>>>>
>>>>>Yin
>>>>>
>>>>>_______________________________________________
>>>>>chord mailing list
>>>>>chord at amsterdam.lcs.mit.edu
>>>>>https://amsterdam.lcs.mit.edu/mailman/listinfo/chord
>>>>
>>>
> 
> 



More information about the chord mailing list