From: Adrian Tritschler <ajft@ajft.org>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: [9fans] venti on linux under p9port?
Date: Fri, 23 Sep 2005 17:53:27 +1000 [thread overview]
Message-ID: <4333B477.3010503@ajft.org> (raw)
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:ajft@ajft.org
Latitude 38°S, Longitude 145°E, Altitude 50m, Shoe size 44
---------------------------------------------------------------
next reply other threads:[~2005-09-23 7:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-23 7:53 Adrian Tritschler [this message]
2005-09-23 15:43 ` Russ Cox
2005-09-29 4:00 ` Adrian Tritschler
2005-09-29 11:17 jpc
2005-09-29 15:23 ` Russ Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4333B477.3010503@ajft.org \
--to=ajft@ajft.org \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).