On Tue, 20 Dec 2005 23:43:47 -0500 Russ Cox <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
