From: "Russ Cox" <rsc@swtch.com>
To: 9fans@9fans.net
Subject: Re: [9fans] Venti install trouble
Date: Mon, 19 May 2008 12:23:33 -0400 [thread overview]
Message-ID: <20080519162728.21CE31E8C53@holo.morphisms.net> (raw)
In-Reply-To: <20080516194257.GA7653@companion-cube>
> 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
prev parent reply other threads:[~2008-05-19 16:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-16 19:42 Venkatesh Srinivas
2008-05-19 16:23 ` Russ Cox [this message]
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=20080519162728.21CE31E8C53@holo.morphisms.net \
--to=rsc@swtch.com \
--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).