9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Serge Gagnon <serge.gagnon@b2b2c.ca>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] plan9port venti FreeBSD
Date: Tue, 27 Dec 2005 14:41:54 -0500	[thread overview]
Message-ID: <E1ErKhm-000IQx-OP@quenix1.dyndns.org> (raw)
In-Reply-To: <ee9e417a0512202043vd571e48ud3eb79dc4c4bfd97@mail.gmail.com>

On Tue, 20 Dec 2005 23:43:47 -0500
Russ Cox <rsc@swtch.com> wrote:

> > First of all, I would like to know how can I create a venti
> > partition with the FreeBSD fdisk (the number of the partition like
> > 165 for FreeBSD) ?
> 
> You can use whatever partition number you like.
> You will need more than one partition, since arenas
> and data are kept separate.  Alternately, because
> disk partitioning is such a pain, the Unix venti
> supports an alternate syntax filename:lo-hi,
> which selects a subpartition of the named file.
> So /dev/hda:0-10G is the first 10 gigabytes of /dev/hda.
> 

I can't run fmtisect or fmtarenas directly on partition without this
error:

; sudo /usr/local/plan9/bin/venti/fmtarenas -b 8192
arenas0. /dev/ad2:0-10G 
err 0: can't determine size of
partition /dev/ad2 /usr/local/plan9/bin/venti/fmtarenas: can't open
partition /dev/ad2:0-10G: can't determine size of partition /dev/ad2
[status 1] ; 

I also tried to make a partition (/dev/as2s1d) and fmtarenas exit with
the same error.

I thought that there was probably an incompatibility with my hard
drive, then i tried it with another brand new HD with the same
result.

I'm running plan9port-20051222 on FreeBSD 5.4-STABLE .

Another question (the last):
Is there a built-in mechanism to feed the vnfs's config file or should
i handle this with script?

Thanks

-- 
GAGNON serge <serge.gagnon@b2b2c.ca>
PGP KEY-ID: 0xBBC1478F
PGP Fingerprint: B48B 4633 28F5 28F6 7A62 5650 69C8 E293 BBC1 478F
PPG Key: http://quenix2.dyndns.org:7777 | telnet quenix2.dyndns.org 7777


  parent reply	other threads:[~2005-12-27 19:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-21  4:07 Serge Gagnon
2005-12-21  4:43 ` Russ Cox
2005-12-21  4:44   ` Russ Cox
2005-12-27 19:41   ` Serge Gagnon [this message]
2005-12-30 19:40     ` Russ Cox
2005-12-31  4:22       ` Serge Gagnon
2005-12-31 10:36         ` C H Forsyth
2005-12-31 13:50           ` Russ Cox
     [not found] <200512210421.jBL4LmZv058701@gate.bitblocks.com>
2005-12-22 18:22 ` Serge Gagnon
2005-12-22 19:04   ` Russ Cox
2005-12-22 20:06     ` Serge Gagnon

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=E1ErKhm-000IQx-OP@quenix1.dyndns.org \
    --to=serge.gagnon@b2b2c.ca \
    --cc=9fans@cse.psu.edu \
    /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).