From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 27 Dec 2005 14:41:54 -0500 From: Serge Gagnon Subject: Re: [9fans] plan9port venti FreeBSD In-reply-to: To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Message-id: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <200512202307.11220.serge.gagnon@b2b2c.ca> Topicbox-Message-UUID: cb22ccb2-ead0-11e9-9d60-3106f5b1d025 On Tue, 20 Dec 2005 23:43:47 -0500 Russ Cox 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 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