9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Tharaneedharan Vilwanathan" <dharani@lucent.com>
To: <9fans@cse.psu.edu>
Subject: Re: [9fans] venti
Date: Fri, 14 Jun 2002 01:05:00 -0400	[thread overview]
Message-ID: <000701c21361$0a3fbd20$a228ff87@jjmj301> (raw)
In-Reply-To: <3D0952B9.6FFCD5D4@research.bell-labs.com>

hi,

sean's mail was useful.

i figured that i created the arena file with exactly 512MB size and did
fmtarenas. that probably didnt make any useful arenas. i raised the size to
nearly 2GB and then it created about 4 arenas. and that solved the problem.
wow! i think venti is going to be a great tool! all along, i was
uncomfortable using source code control systems. i think venti is going to
be a pain killer.

now, i have some questions:

- when the arena file is too small to create any useful arenas, does
fmtarenas throw an appropriate error? and would it be a good idea to give a
clue (in the man page) on the additional space needed for storing additional
details (for e.g: the space needed is (n * arenasize) + some_constant_size).
- in the arena file i created, the last arena size seemed to be less that
the other arena files. is it fine? if so, is it that arena file should
atleast hold one arena and the last arena could be a smaller one?
- how do i gracefully shutdown venti? i closed the window to shutdown venti.
- the http built-in server didnt seem to start by default. however, when i
used -h option, it worked. bug? feature? and when venti is killed (like the
way i did), the built-in http server didnt seem to die.

dharani

> your are right, the manual page should give you a hint.
> 5% is probably a good choice.
>
> The "no space left" sounds like venti is not detecting your arenas.
> you might try
> hget http://yourmachine/storage
> to get a dump of what the venti server thinks it has for storage.
>
> hope this helps
> seanq
>
> Tharaneedharan Vilwanathan wrote:
> >
> > > I used regular files to try venti and did just like the example in the
man
> > > page says.
> > >
> > > I faced 2 problems. The man page says what should be the size of the
index
> > i meant, the man page doesnt say a reasonable file size for the index
file.
> >
> > > file nor the utility takes a default value (in contrast, fmtarenas
takes a
> > > default value). For 512MB arena file, what should be the sie of the
index
> > > file? I created two 50MB files. Am I right?
> > >
> > > Next, after doing all the steps given in the example, I tried to do
'vac'
> > on
> > > a directory. It said like "no space left". I tried to vac a small
file.
> > > Still the same problem.
> > >
> > > Any clues?
> > >
> > > Thanks
> > > dharani



  reply	other threads:[~2002-06-14  5:05 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-13 20:35 [9fans] bug or a feature? Russ Cox
2002-06-13 20:58 ` Dan Cross
2002-06-13 21:34   ` Tharaneedharan Vilwanathan
2002-06-13 22:51     ` [9fans] venti Tharaneedharan Vilwanathan
2002-06-14  2:19       ` Sean Quinlan
2002-06-14  5:05         ` Tharaneedharan Vilwanathan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-01-09  8:20 Tharaneedharan Vilwanathan
2009-01-09  9:44 ` Sape Mullender
2009-01-09 12:18   ` Richard Miller
2009-01-09 12:38     ` Sape Mullender
2009-01-09 13:39     ` erik quanstrom
2009-01-09 20:11   ` Dave Eckhardt
2009-01-09 20:27     ` erik quanstrom
2009-01-09 22:18       ` Dave Eckhardt
2009-01-09 22:27         ` erik quanstrom
2009-01-09 20:34     ` Steve Simon
2009-01-09 21:08     ` Roman V. Shaposhnik
2007-10-04  1:51 Russ Cox
2007-10-07 20:51 ` Steve Simon
2007-07-03  4:58 [9fans] Venti Lucio De Re
2007-03-30 16:32 [9fans] venti Steve Simon
2003-02-06  1:11 Kenji Arisawa
2003-02-06  1:21 ` Russ Cox
2002-11-29 18:59 Russ Cox
2002-11-29 18:27 Russ Cox
2002-01-30 20:35 George Michaelson
     [not found] <rob@plan9.bell-labs.com>
2002-01-30  5:52 ` rob pike
2002-01-30  6:23   ` George Michaelson
2002-01-30  8:07   ` paurea
2002-01-30 11:17   ` Boyd Roberts

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='000701c21361$0a3fbd20$a228ff87@jjmj301' \
    --to=dharani@lucent.com \
    --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).