I'm trying to muddle my way through creating a venti under p9ports on a
linux box (for various reasons). For the moment, I'm not too concerned
at performance, I just want to get familiar with it. Rather than
accessing a raw partition, I'm trying to set it up to refer to arena and
index files in /usr/local/venti (is this sensible?)
So far:
Created the arena files from sh with:
dd if=/dev/zero of=arenas1 seek=$((1024 * 1024 * 512 - 1)) bs=1 count=1
Created the index files with:
dd if=/dev/zero of=isect0 seek=$((1024 * 1024 * 24 - 1)) bs=1 count=1
Then following the wiki page on setting up venti:
Format the arenas with:
% venti/fmtarenas arenas0 /usr/local/venti/arenas0
fmtarenas /usr/local/venti/arenas0: 1 arenas, 536,076,288 bytes storage,
524,288 bytes for index map
% venti/fmtarenas arenas1 /usr/local/venti/arenas1
fmtarenas /usr/local/venti/arenas1: 1 arenas, 536,076,288 bytes storage,
524,288 bytes for index map
Format the index sections with:
% venti/fmtisect isect0 /usr/local/venti/isect0
fmtisect /usr/local/venti/isect0: 2,975 buckets of 215 entries, 524,288
bytes for index map
% venti/fmtisect isect1 /usr/local/venti/isect1
fmtisect /usr/local/venti/isect1: 2,975 buckets of 215 entries, 524,288
bytes for index map
% cat venti.conf
# the name of the index
index main
# the index sections
isect /usr/local/venti/isect0
isect /usr/local/venti/isect1
# the arenas
arenas /usr/local/venti/arenas0
arenas /usr/local/venti/arenas1
Problem comes when I try to start venti, it just gives me the following:
% venti/venti -w
usage: venti [-dsw] [-a ventiaddress] [-h httpaddress] [-c config] [-C
cachesize] [-I icachesize] [-B blockcachesize]
I can't seem to work out any combination of parameters that give any
output other than the above.
Any assistance, or which fine manual have i missed?
thanks,
ADrian
---------------------------------------------------------------
Adrian Tritschler mailto:[EMAIL PROTECTED]
Latitude 38°S, Longitude 145°E, Altitude 50m, Shoe size 44
---------------------------------------------------------------