Subject: newfs
To: Isaac Kohen <root@izik.inx.net>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-pmax
Date: 02/27/1997 19:20:50
Issac Kohen writes:
>I get the following error when I try to do newfs.:
># newfs -c 1024 /dev/rz2d
>
>here is the protofile i use to label my drive.
>4 partitions:
># size offset fstype [fsize bsize cpg]
> a: 20000 0 4.2BSD 1024 8192 16
> b: 21000 20001 swap
> c: 22000 21001 unused 1024 8192
> d: 26100 22001 4.2BSD 1024 8192 16
>please help if you have any ideas.
Your b partition starts at 20001 and goes on for 21000 blocks, (i.e.,
ends at block 41000).
Your d partition starts at block 22001 and goes on for 26100 blocks
i.e., ends at block 28100).
(I may be off by one at the end, but I don't think so.)
The b and d partitions clearly do overlap.
Below the prototype for an rz25 from the /etc/disktab that should be
in 1.2. I'd label the disk with this first. Then use disklabel -e to
edit the partition sizes, change the size *and* offset to suit.
If you're installing this as a real root filesystem, the root
partition will be a tight sqeeze. I'd double it (increasing ob and
decreasin pb accordingly), assuming you have another disk to put some
or all of /usr on.
rz23|RZ23|DEC RZ23 Winchester:\
:dt=SCSI:ty=winchester:ns#33:nt#8:nc#776:\
:pa#32768:oa#0:ba#8192:fa#1024:\
:pb#131072:ob#32768:bb#8192:fb#1024:tb=swap:\
:pc#204864:oc#0:bc#8192:fc#1024:\
:pd#13674:od#163840:bd#8192:fd#1024:\
:pe#13674:oe#177514:be#8192:fe#1024:\
:pf#13676:of#191188:bf#8192:ff#1024:\
:pg#41024:og#163840:bg#8192:fg#1024:
--Jonathan