9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] venti/checkarenas
  2004-09-10  8:29 [9fans] venti/checkarenas Charles Forsyth
@ 2004-09-09 14:38 ` jmk
  2004-09-09 17:04   ` Russ Cox
  0 siblings, 1 reply; 3+ messages in thread
From: jmk @ 2004-09-09 14:38 UTC (permalink / raw)
  To: 9fans


On Thu Sep  9 04:32:19 EDT 2004, forsyth@terzarima.net wrote:
> i find that the last batch of changes written to venti always
> yields diagnostics like the following from subsequent venti/checkarenas:
> 
> unwritten clump info for clump=78327 score=096aebf110967672346d6b22597aaf28bb070a61 type=2
> unwritten clump info for clump=78328 score=78b812a6153d4ba818625767c63d177878247390 type=13
> unwritten clump info for clump=78329 score=2f5755c62e26aacb9ef323998c346ea4d4f22f79 type=2
> unwritten clump info for clump=78330 score=d46c5390d95cfb6a58fdd9fa72ac705626a8d151 type=13
> unwritten clump info for clump=78331 score=1e21e26ee81d03f4df808dad975a465e73a15a5e type=13
> unwritten clump info for clump=78332 score=5f818cf12419acdb6498d05b6ecc849e78562263 type=2
> unwritten clump info for clump=78333 score=92e25ecb6c7ad80415cf8cc1916eb001c7b0dea2 type=2
> unwritten clump info for clump=78334 score=332e3a8eef00a8ccbb307b143757b33f3fcb72d2 type=1
> incorrect arena header fields
> 	...
> 
> venti/sync doesn't change the result.
> 
> when i'd changed venti/checkarenas -f to repair them correctly (rather,
> remember that it had repaired them) i'd assumed that i'd shut down at
> some point before it could write the clump info.  it's so consistent on
> several venti, though, that i now assume i've misinterpreted.
> mind you, one time i couldn't use the result until i'd done the checkarenas -f
> and rebuilt the index.  any comments?

If my memory serves me correctly, venti/sync only makes sure buffered data blocks
are on disc. The clump info is batched separately and is quite often not on disc
when venti is stopped. The first thing the venti server does on startup is to make
the clump info up to date. You can do this manually if the server isn't running
with the syncindex command (not mentiuoned in the man pages).

--jim


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

* Re: [9fans] venti/checkarenas
  2004-09-09 14:38 ` jmk
@ 2004-09-09 17:04   ` Russ Cox
  0 siblings, 0 replies; 3+ messages in thread
From: Russ Cox @ 2004-09-09 17:04 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> If my memory serves me correctly, venti/sync only makes sure buffered data blocks
> are on disc. The clump info is batched separately and is quite often not on disc
> when venti is stopped. The first thing the venti server does on startup is to make
> the clump info up to date. You can do this manually if the server isn't running
> with the syncindex command (not mentiuoned in the man pages).

This is correct.  I have occasionally seen problems like forsyth
describes (requiring the checkindex -f), though I haven't been
able to understand them or track them down.

Russ


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

* [9fans] venti/checkarenas
@ 2004-09-10  8:29 Charles Forsyth
  2004-09-09 14:38 ` jmk
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Forsyth @ 2004-09-10  8:29 UTC (permalink / raw)
  To: 9fans

i find that the last batch of changes written to venti always
yields diagnostics like the following from subsequent venti/checkarenas:

unwritten clump info for clump=78327 score=096aebf110967672346d6b22597aaf28bb070a61 type=2
unwritten clump info for clump=78328 score=78b812a6153d4ba818625767c63d177878247390 type=13
unwritten clump info for clump=78329 score=2f5755c62e26aacb9ef323998c346ea4d4f22f79 type=2
unwritten clump info for clump=78330 score=d46c5390d95cfb6a58fdd9fa72ac705626a8d151 type=13
unwritten clump info for clump=78331 score=1e21e26ee81d03f4df808dad975a465e73a15a5e type=13
unwritten clump info for clump=78332 score=5f818cf12419acdb6498d05b6ecc849e78562263 type=2
unwritten clump info for clump=78333 score=92e25ecb6c7ad80415cf8cc1916eb001c7b0dea2 type=2
unwritten clump info for clump=78334 score=332e3a8eef00a8ccbb307b143757b33f3fcb72d2 type=1
incorrect arena header fields
	...

venti/sync doesn't change the result.

when i'd changed venti/checkarenas -f to repair them correctly (rather,
remember that it had repaired them) i'd assumed that i'd shut down at
some point before it could write the clump info.  it's so consistent on
several venti, though, that i now assume i've misinterpreted.
mind you, one time i couldn't use the result until i'd done the checkarenas -f
and rebuilt the index.  any comments?


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

end of thread, other threads:[~2004-09-10  8:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-10  8:29 [9fans] venti/checkarenas Charles Forsyth
2004-09-09 14:38 ` jmk
2004-09-09 17:04   ` Russ Cox

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