9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Regenerating Venti Index Sections?
@ 2008-04-23  2:32 Venkatesh Srinivas
  2008-04-23  3:17 ` Adrian Tritschler
  2008-04-23  3:19 ` a
  0 siblings, 2 replies; 3+ messages in thread
From: Venkatesh Srinivas @ 2008-04-23  2:32 UTC (permalink / raw)
  To: 9fans

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.

Is it possible for me to reconstruct the index section? If so, how? Will
the Venti be able to run without it? If I can reconstruct it, can the
new index section be larger?

Thanks,
--vs


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] Regenerating Venti Index Sections?
  2008-04-23  2:32 [9fans] Regenerating Venti Index Sections? Venkatesh Srinivas
@ 2008-04-23  3:17 ` Adrian Tritschler
  2008-04-23  3:19 ` a
  1 sibling, 0 replies; 3+ messages in thread
From: Adrian Tritschler @ 2008-04-23  3:17 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] Regenerating Venti Index Sections?
  2008-04-23  2:32 [9fans] Regenerating Venti Index Sections? Venkatesh Srinivas
  2008-04-23  3:17 ` Adrian Tritschler
@ 2008-04-23  3:19 ` a
  1 sibling, 0 replies; 3+ messages in thread
From: a @ 2008-04-23  3:19 UTC (permalink / raw)
  To: 9fans

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

Yes. See venti-fmt(8). If you want to stop here, you can
try checkindex first, and if that doesn't work for you, go
to buildindex.

// Will the Venti be able to run without it?

No, you need an index. The bloom filter is the only
optional (but recommended) component.

// ...can the new index section be larger?

Yes. You can either replace your old index (required if
you've suffered a hardware failure, for example) or
build a new index using your old index as a part. (if
you've just run out of space). In either case, you'll
need to format each index section (fmtisect) and then
the index itself (fmtindex) before regerating the index
for your currend data log (buildindex).

anthony



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-23  3:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-23  2:32 [9fans] Regenerating Venti Index Sections? Venkatesh Srinivas
2008-04-23  3:17 ` Adrian Tritschler
2008-04-23  3:19 ` a

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).