Subject: newfs
To: None <port-pmax@NetBSD.ORG>
From: Isaac Kohen <root@izik.inx.net>
List: port-pmax
Date: 02/27/1997 18:55:12
Hi all.
I get the following error when I try to do newfs.:
# newfs -c 1024 /dev/rz2d
rz2d: overlaps open partition (b)
newfs: /dev/rz2d: not a character-special device
Warning: calculated sectors per cylinder (1) disagrees with disk label
(32)
/dev/rz2d: 26100 sectors in 26100 cylinders of 1 tracks, 1 sectors
12.7MB in 26 cyl groups (1024 c/g, 0.50MB/g, 128 i/g)
super-block backups (for fsck -b #) at:
.....(numbers).....
this is from the netbsd partition /dev/rz2a which i boot the miniroot
off of.
the drive is an old RZ23 (108MB) w/1523 cylinders.
here is the protofile i use to label my drive.
# Sample disk label prototype file for RZ25. Note the outrageously bogus
# cylinder size - one block per cylinder. It may be better to put
legitimate
# numbers in here, but be sure that if you do, the size of the c partition
# adds up to sectors/track * tracks/cylinder * cylinders.
type: SCSI
disk: rz23
label: netbsd
flags:
bytes/sector: 512
sectors/track: 1
tracks/cylinder: 1
sectors/cylinder: 32
cylinders: 1523
rpm: 3409
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
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.
Thankyou all very much.
isaac
<koheni@voyager.bxscience.edu>