From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 23 Sep 2005 17:53:27 +1000 From: Adrian Tritschler To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Message-id: <4333B477.3010503@ajft.org> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 User-Agent: Mozilla Thunderbird 1.0.5 (X11/20050711) Subject: [9fans] venti on linux under p9port? Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 9039a95e-ead0-11e9-9d60-3106f5b1d025 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=3D/dev/zero of=3Darenas1 seek=3D$((1024 * 1024 * 512 - 1)) bs=3D1 c= ount=3D1 Created the index files with: dd if=3D/dev/zero of=3Disect0 seek=3D$((1024 * 1024 * 24 - 1)) bs=3D1 cou= nt=3D1 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:ajft@ajft.org Latitude 38=C2=B0S, Longitude 145=C2=B0E, Altitude 50m, Shoe size 44 ---------------------------------------------------------------