[chord] Newbie question -- sample for store & retrieve
Merrill Squiers
msquiers at cybernet.com
Wed Oct 31 17:06:37 EDT 2007
I have a newish snapshot of chord (chord-0.1-20071018.tar.bz2) compiled
and running (w/sfslite-0.8.16). My server commands are started via:
/root/new_download/chord-0.1/lsd/start-dhash --root dhash-a -j
test1.local.net:20000 -p 20000
My client (hostname "test2") commands are started via:
/root/new_download/chord-0.1/lsd/start-dhash --root dhash-a -S
/tmp/chord-sock -v 16 -j test1.local.net:20000
It appears I can insert a file:
tools/filestore /tmp/chord-sock -s ~sfs/a.txt 1
What I don't understand is how the client "retrieves" the file. Reading
through the mailing list, it appears the command is
tools/filestore /tmp/chord-sock -l <dhash> 1
but this simply says:
/home/sfs/a.txt: 20 bytes
What is/are the method(s) for retrieving something once it's stored?
Thank you --mds
More information about the chord
mailing list