9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Venti install trouble
@ 2008-05-16 19:42 Venkatesh Srinivas
  2008-05-19 16:23 ` Russ Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Venkatesh Srinivas @ 2008-05-16 19:42 UTC (permalink / raw)
  To: 9fans

Hi,

I'm attempting to set up venti from p9p here, but am having difficult
start it.

The Venti has a data log of 1.4 TB across four arena partitions and 44GB
in indexes across four index partitions. All the
fmtarena/fmtisect/fmtindex commands suceeded without incident, but when I
try to start the Venti for the first time, I get:

venti: can't init server: illegal number of elements in /9/dev/sda2/isect

What causes this error? Do I need more index space? Is there anything
else I should try?

Thanks,
--vs



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

* Re: [9fans] Venti install trouble
  2008-05-16 19:42 [9fans] Venti install trouble Venkatesh Srinivas
@ 2008-05-19 16:23 ` Russ Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Russ Cox @ 2008-05-19 16:23 UTC (permalink / raw)
  To: 9fans

> The Venti has a data log of 1.4 TB across four arena partitions and 44GB
> in indexes across four index partitions. All the
> fmtarena/fmtisect/fmtindex commands suceeded without incident, but when I
> try to start the Venti for the first time, I get:
>
> venti: can't init server: illegal number of elements in /9/dev/sda2/isect
>
> What causes this error? Do I need more index space? Is there anything
> else I should try?

Venti imposes a limit of 2048 arenas in a venti system.
The constant is defined in /sys/src/cmd/venti/srv/dat.h
(or $PLAN9/src/cmd/venti/srv/dat.h) as MaxAMap:

	MaxAMap			= 2*1024,	/* max. allowed arenas in an address mapping; must be < 32*1024 */

If you recompile with this set to 30*1024, your system
will work just fine.

I am embarrassed to admit that I have no idea what
the purpose of this constant is (its only use is the check
that you are tripping over) or why it ``must be < 32*1024.''
I tripped over this a month ago setting up a 7 TB venti
and just bumped it to 30*1024 to get the system running.
I have been meaning to investigate further but haven't
had time.

Russ



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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-16 19:42 [9fans] Venti install trouble Venkatesh Srinivas
2008-05-19 16:23 ` 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).