9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Growing a venti
@ 2005-02-22 21:21 Dave Eckhardt
  2005-02-22 23:54 ` Steve Simon
  0 siblings, 1 reply; 5+ messages in thread
From: Dave Eckhardt @ 2005-02-22 21:21 UTC (permalink / raw)
  To: 9fans

It seems as if the steps to add data arenas are:

1. Format them with fmtarenas
2. Append them to the arena list in venti.conf
3. fmtindex -a

And the steps for adding index sections are:

1. Format with fmtisect
2. Add them to the list in venti.conf
3. fmtindex
4. buildindex

I assume that fmtindex and buildindex need to
be run with venti shut down... how do people
usually do this?  Boot against some other
file server, such as a TIP9UG account?

What size should be given to buildindex -B?
More or less all of physical memory?

Dave Eckhardt


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

* Re: [9fans] Growing a venti
  2005-02-22 21:21 [9fans] Growing a venti Dave Eckhardt
@ 2005-02-22 23:54 ` Steve Simon
  2005-02-23  0:36   ` [9fans] dosmnt arisawa
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Simon @ 2005-02-22 23:54 UTC (permalink / raw)
  To: 9fans

What you describe is what what I understand you should do.

When I rebuilt my index I booted from cdrom; The ISO on sources
can boot as an install CD or as a standalone live system.
I didn't use the -B option to buildindex though it may
have completed faster if I had.

I wrote about my experiences in:

/n/sources/steve/Venti-rescue.tbl
http://www.quintile.net/Venti-rescue.html

-Steve


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

* [9fans] dosmnt
  2005-02-22 23:54 ` Steve Simon
@ 2005-02-23  0:36   ` arisawa
  2005-02-24 23:37     ` Russ Cox
  0 siblings, 1 reply; 5+ messages in thread
From: arisawa @ 2005-02-23  0:36 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello,

dosmnt does not work correctly.
because
term% echo /dev/sd*/dos*
/dev/sdC0/dos /dev/sdC0/dos /dev/sdD0/dos /dev/sdD0/dos

current codes are:

term% cat /bin/dosmnt
#!/bin/rc

rfork e
if(! ~ $#* 2){
         echo 'usage: dosmnt N mntpt' >[1=2]
         exit usage
}

x=(`{echo /dev/sd??/dos*})
if(test $#x -lt $1){
         echo 'not that many dos disks' >[1=2]
         exit usage
}

if(! test -f /srv/dos)
         dossrv >/dev/null </dev/null >[2]/dev/null

mount -c /srv/dos $2 $x($1)
term%


The fix is to replace last line
         mount -c /srv/dos $2 $x($1)
to
         g=$x(1)
         for(f in $x)
                 if(! ~ $f $g) g=($g $f)
         mount -c /srv/dos $2 $g($1)


Kenji Arisawa



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

* Re: [9fans] dosmnt
  2005-02-23  0:36   ` [9fans] dosmnt arisawa
@ 2005-02-24 23:37     ` Russ Cox
  2005-02-25  7:38       ` arisawa
  0 siblings, 1 reply; 5+ messages in thread
From: Russ Cox @ 2005-02-24 23:37 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> The fix is to replace last line

the real fix is not to bind '#S' onto /dev twice.
but i changed dosmnt anyway.

russ


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

* Re: [9fans] dosmnt
  2005-02-24 23:37     ` Russ Cox
@ 2005-02-25  7:38       ` arisawa
  0 siblings, 0 replies; 5+ messages in thread
From: arisawa @ 2005-02-25  7:38 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello,

> the real fix is not to bind '#S' onto /dev twice.

I agree.
But why Kernel shows same things twice?

Kenji Arisawa



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

end of thread, other threads:[~2005-02-25  7:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-22 21:21 [9fans] Growing a venti Dave Eckhardt
2005-02-22 23:54 ` Steve Simon
2005-02-23  0:36   ` [9fans] dosmnt arisawa
2005-02-24 23:37     ` Russ Cox
2005-02-25  7:38       ` arisawa

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