9fans archive / 2008 / 04 / 294 /    prev next

From: Adrian Tritschler <ajft@ajf...>
Subject: Re: [9fans] Regenerating Venti Index Sections?
Date: Wed, 23 Apr 2008 13:17:32 +1000

Venkatesh Srinivas wrote:
> Hi,
> 
> I have a ~5GB Venti which had run for some time with one 256MB Index
> Section; recently, the Index Section became corrupted. The Arenas are
> intact. I was using plan9port's Venti.

I run a similar system, a ubuntu linux box with Venti under p9p with a 
VMware guest system that is a plan9 cpu server.

> Is it possible for me to reconstruct the index section?

Yes

 > If so, how?

By reading the manuals :-) "man 8 venti-fmt"

Rebuild index with "venti/buildindex venti.conf"


 > Will the Venti be able to run without it?

 > If I can reconstruct it, can the
> new index section be larger?

Yes.  Prior to rebuilding your index, create new isect file(s) or 
partitions, add them to your venti.conf, format them with, for example:

venti/fmtisect isectXYZ isectXYZ

then rebuild the index.

> Thanks,
> --vs
	Adrian