9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] missing venti arenas
@ 2004-02-23 10:18 Matthias Teege
  2004-02-23 10:30 ` Fco.J.Ballesteros
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Teege @ 2004-02-23 10:18 UTC (permalink / raw)
  To: 9fans

Moin,

last week I described a problem with venti setup. I prepared the
disk and format venti areans and index but after reboot I missing
the areanas and index. It looks like that:

term% disk/prep /dev/sdC1/data
  empty                 0 2          (2 sectors, 1.00 KB)
  arenas0               2 3670018    (3670016 sectors, 1.75 GB)
  arenas1         3670018 7340034    (3670016 sectors, 1.75 GB)
  isect0          7340034 7864322    (524288 sectors, 256.00 MB)
  isect1          7864322 8388608    (524286 sectors, 255.99 MB)
>>> q
term% ls /dev/sdC1
/dev/sdC1/ctl
/dev/sdC1/data
/dev/sdC1/plan9
/dev/sdC1/raw
term% ls /dev/sdC1/data
/dev/sdC1/data
term%
term% venti/fmtarenas arenas0 /dev/sdC1/arenas0
fatal venti/fmtarenas error: cant open partition /dev/sdC1/arenas0: cant open partition=/dev/sdC1/arenas0: fd out of range or not open
term%

Thanks for any hint
Matthias


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

* Re: [9fans] missing venti arenas
  2004-02-23 10:18 [9fans] missing venti arenas Matthias Teege
@ 2004-02-23 10:30 ` Fco.J.Ballesteros
  2004-02-23 13:46   ` Matthias Teege
  0 siblings, 1 reply; 4+ messages in thread
From: Fco.J.Ballesteros @ 2004-02-23 10:30 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 159 bytes --]

Don't you see `arenas0' when you do
	lc /dev/sdC1

if that's the case there's a missing
disk/prep -p /dev/sdC1/data >/dev/sdC1/ctl
in your start script.

[-- Attachment #2: Type: message/rfc822, Size: 2882 bytes --]

From: Matthias Teege <matthias@mteege.de>
To: 9fans@cse.psu.edu
Subject: [9fans] missing venti arenas
Date: Mon, 23 Feb 2004 10:18:22 0000
Message-ID: <be1d29ebb742f4f72821ee3dbda24bee@mteege.de>

Moin,

last week I described a problem with venti setup. I prepared the
disk and format venti areans and index but after reboot I missing
the areanas and index. It looks like that:

term% disk/prep /dev/sdC1/data
  empty                 0 2          (2 sectors, 1.00 KB)
  arenas0               2 3670018    (3670016 sectors, 1.75 GB)
  arenas1         3670018 7340034    (3670016 sectors, 1.75 GB)
  isect0          7340034 7864322    (524288 sectors, 256.00 MB)
  isect1          7864322 8388608    (524286 sectors, 255.99 MB)
>>> q
term% ls /dev/sdC1
/dev/sdC1/ctl
/dev/sdC1/data
/dev/sdC1/plan9
/dev/sdC1/raw
term% ls /dev/sdC1/data
/dev/sdC1/data
term%
term% venti/fmtarenas arenas0 /dev/sdC1/arenas0
fatal venti/fmtarenas error: cant open partition /dev/sdC1/arenas0: cant open partition=/dev/sdC1/arenas0: fd out of range or not open
term%

Thanks for any hint
Matthias

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

* Re: [9fans] missing venti arenas
  2004-02-23 10:30 ` Fco.J.Ballesteros
@ 2004-02-23 13:46   ` Matthias Teege
  2004-02-23 14:47     ` Fco.J.Ballesteros
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Teege @ 2004-02-23 13:46 UTC (permalink / raw)
  To: 9fans

On Mon Feb 23 11:24:30 GMT 2004, nemo@plan9.escet.urjc.es wrote:

> Don't you see `arenas0' when you do
> 	lc /dev/sdC1
>
> if that's the case there's a missing
> disk/prep -p /dev/sdC1/data >/dev/sdC1/ctl
> in your start script.

Hmm, /bin/termrc? It works if I use lib/profile but I think this
is the wrong place.

I try to build a standalone fossil/venti machine and there is
another problem. I setup venti='#S/sdC1/arenas0' in plan9.ini
and run venti/conf -w /dev/sdC1/arenas0 venti.conf but at
reboot I get:

fatal /boot/venti error can't init server ...

If I use data instead of arenas0 the server comes up but missing
/dev/sdC1/isect0. Snap -a can't connect to venti server.

Another hint?
Matthias


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

* Re: [9fans] missing venti arenas
  2004-02-23 13:46   ` Matthias Teege
@ 2004-02-23 14:47     ` Fco.J.Ballesteros
  0 siblings, 0 replies; 4+ messages in thread
From: Fco.J.Ballesteros @ 2004-02-23 14:47 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 267 bytes --]

I see. Somehow, IMHO, your sdC0 drive is not being
updated with the partitions contained in your plan9 partition.
Do you have recent 9load and boot(8)? Have you checked?

That would explain why you can use /dev/sdC0/data but not
anything inside /dev/sdC0/plan9

[-- Attachment #2: Type: message/rfc822, Size: 2782 bytes --]

From: Matthias Teege <matthias@mteege.de>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] missing venti arenas
Date: Mon, 23 Feb 2004 13:46:27 0000
Message-ID: <00fd5e4a73a8c5b65a7e164f0ab3f3bd@mteege.de>

On Mon Feb 23 11:24:30 GMT 2004, nemo@plan9.escet.urjc.es wrote:

> Don't you see `arenas0' when you do
> 	lc /dev/sdC1
>
> if that's the case there's a missing
> disk/prep -p /dev/sdC1/data >/dev/sdC1/ctl
> in your start script.

Hmm, /bin/termrc? It works if I use lib/profile but I think this
is the wrong place.

I try to build a standalone fossil/venti machine and there is
another problem. I setup venti='#S/sdC1/arenas0' in plan9.ini
and run venti/conf -w /dev/sdC1/arenas0 venti.conf but at
reboot I get:

fatal /boot/venti error can't init server ...

If I use data instead of arenas0 the server comes up but missing
/dev/sdC1/isect0. Snap -a can't connect to venti server.

Another hint?
Matthias

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

end of thread, other threads:[~2004-02-23 14:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-23 10:18 [9fans] missing venti arenas Matthias Teege
2004-02-23 10:30 ` Fco.J.Ballesteros
2004-02-23 13:46   ` Matthias Teege
2004-02-23 14:47     ` Fco.J.Ballesteros

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