Subject: Difficulty labeling a disk
To: None <current-users@netbsd.org, port-pmax@netbsd.og>
From: Yoseff Francus <francus@yossi.com>
List: current-users
Date: 05/23/1999 02:59:23
This is a system that was converted from Ultrix last week.

I still have one disk that I need to do disklabel for;

when I attempt to initialize the label what I get is:

metsny# disklabel -r rz3
disklabel: no disk label

If I simply use disklabel and no options I get:

metsny#  disklabel rz3
# /dev/rrz3c:
type: SCSI
disk: SCSI disk
label: fictitious
flags:
bytes/sector: 512
sectors/track: 125
tracks/cylinder: 8
sectors/cylinder: 1000
cylinders: 4177
total sectors: 4197405
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:    65556        0      4.2BSD     1024     0     0   # (Cyl.    0 - 65*)
  b:   250000    65556        swap                        # (Cyl.   65*- 315)
  c:  4197405        0      4.2BSD     1024     0     0   # (Cyl.    0 - 4197*)
  d:  1200000   315556      4.2BSD     1024     0     0   # (Cyl.  315*- 1515)
  e:  1000000  1315556      4.2BSD     1024     0     0   # (Cyl. 1315*- 2315)
  f:  1000000  1315556      4.2BSD     1024     0     0   # (Cyl. 1315*- 2315)
  g:  3881849   315556      4.2BSD     1024     0     0   # (Cyl.  315*- 4197*)
  h:  1481849  2715556      4.2BSD     1024     0     0   # (Cyl. 2715*- 4197*)

I have tried the trick of unzipping diskimage.gz on to this drive as well
as trying disklabel -i and disklabel -R.

Any other ideas?