9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Steve Simon" <steve@quintile.net>
To: 9fans@9fans.net
Subject: Re: [9fans] venti question
Date: Wed, 13 May 2009 12:49:16 +0100	[thread overview]
Message-ID: <46bdba8146ba2f8e0945aa619dd83e72@quintile.net> (raw)
In-Reply-To: <138575260905130151r2b0f58d9p515332a7a47825a5@mail.gmail.com>

> so I removed the isect1 line from my venti.conf and executed
>
> venti/buildindex -i isect1 $home/lib/venti.conf
>
> and got
>
> 1,731,717 clumps, 63,903 buckets
> 2009/0513 10:35:35 read index
> warning: did not find index section isect1


Are you suffering from an off by one error? you removed
isect1 and then built the index on isect1 only, this sounds wrong.

I would suggest you try again from scratch.

Reformat your both your indexes  and your bloom filter and
then reinitialise your fossil using a venti.conf of:

	index main
	isect /apollo/hugo/isect0
	isect /apollo/hugo/isect1
	arenas /apollo/hugo/arenas0
	arenas /apollo/hugo/arenas1

i.e.

	venti/fmtisect isect1 /dev/sdC0/isect1
	venti/fmtisect isect2 /dev/sdC0/isect2
	venti/fmtbloom /dev/sdC0/bloom
	venti/fmtindex venti.conf
	fossil/flfmt -v 87237...2345345 /dev/sdC0/fossil

I think your problems where due to you using old
isect1 which was formatted to think there was only one index
whilst your venti.conf said there where two.

I don't see how any of the above could damage your arenas0
however do take care and check what I have said carefully,
I don't want to be responsible for you losing data.

Also beware, I don't use p9p so these instructions relate to
what I would do on native plan9. I don't believe there is any
difference these days but I cannot be sure.

Caveat Emptor.

-Steve



  parent reply	other threads:[~2009-05-13 11:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-12 13:20 hugo rivera
2009-05-12 15:17 ` Latchesar Ionkov
2009-05-12 15:29   ` hugo rivera
2009-05-12 15:43   ` erik quanstrom
2009-05-12 16:35     ` Steve Simon
2009-05-13  8:51       ` hugo rivera
2009-05-13 11:47         ` erik quanstrom
2009-05-13 12:41           ` hugo rivera
2009-05-13 11:49         ` Steve Simon [this message]
2009-05-13 13:34           ` hugo rivera
  -- strict thread matches above, loose matches on Subject: below --
2004-08-12 23:27 [9fans] xen port ron minnich
2004-08-17  0:40 ` [9fans] venti question Tim Newsham
2004-08-17 15:40   ` 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=46bdba8146ba2f8e0945aa619dd83e72@quintile.net \
    --to=steve@quintile.net \
    --cc=9fans@9fans.net \
    /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).