Subject: Disklabel
To: None <port-pmax@NetBSD.ORG>
From: None <jason@logical.thought.net>
List: port-pmax
Date: 06/27/1997 23:15:31
I'm having a hard time getting disklabels installed on my 1.2E pmax.  My
userland (at least disklabel) is more of less -current.

I'm using the following disk info:

# /dev/rrz1c:
type: SCSI
disk: 
label: 
flags:
bytes/sector: 512
sectors/track: 1
tracks/cylinder: 1
sectors/cylinder: 1
cylinders: 566456
total sectors: 566456
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:    32768        0    4.2BSD     1024     0     0 	# (Cyl.    0 - 32767)
  b:   131072    32768      swap                    	# (Cyl. 32768 - 163839)
  c:   566456        0    4.2BSD     1024     0     0 	# (Cyl.    0 - 566456)
  g:   566456        0    4.2BSD     1024     0     0 	# (Cyl. 0 - 566456)

I'm getting (from /sbin/disklabel -r -R rz1c proto)
disklabel: ioctl DIOCSDINFO: Open partition would move or shrink

While this entry is suboptimal, it should work with disk (A Maxtor 290).  I've
had this problem before and can't for the life of me figure out how I got
around it *sigh*.

I've got another disk in the system (Conner 2105S), and it's giving me
weird stuff in /var/messages (and complains about the device not being
configured)

I hope this is just my being silly, because it will be difficult for me
to procure a helper machine just to put disklabels on these disks =)

>From dmesg:

rz0 at sii0 drive 0 slave 0 SEAGATE ST31200N rev 8648, 2061108 512 byte blocks
rz1 at sii0 drive 1 slave 0 MAXTOR 7290-SCSI rev 2065, 566456 512 byte blocks
rz2 at sii0 drive 2 slave 0 CONNER CFP2105S  2.14GB rev 2845, 4194304 512 byte blocks
rzopen: ENXIO on rz2c unit 2 part 2
# partions 2, size of 2 = 0
rzopen: ENXIO on rz2c unit 2 part 2
# partions 2, size of 2 = 0
rzopen: ENXIO on rz2c unit 2 part 2
# partions 2, size of 2 = 0
rzopen: ENXIO on rz2c unit 2 part 2
# partions 2, size of 2 = 0
rzopen: ENXIO on rz2c unit 2 part 2
# partions 2, size of 2 = 0
rzopen: ENXIO on rz2a unit 2 part 0
# partions 2, size of 0 = 0
rzopen: ENXIO on rz2a unit 2 part 0
# partions 2, size of 0 = 0
rzopen: ENXIO on rz2b unit 2 part 1
# partions 2, size of 1 = 0
rzopen: ENXIO on rz2c unit 2 part 2
# partions 2, size of 2 = 0
rzopen: ENXIO on rz2d unit 2 part 3
# partions 2, size of 3 = 0
rzopen: ENXIO on rz2e unit 2 part 4
# partions 2, size of 4 = 0
rzopen: ENXIO on rz2f unit 2 part 5
# partions 2, size of 5 = 0
rzopen: ENXIO on rz2g unit 2 part 6
# partions 2, size of 6 = 0
rzopen: ENXIO on rz2 unit 2 part 7
# partions 2, size of 7 = 0
rzopen: ENXIO on rz2a unit 2 part 0
# partions 2, size of 0 = 0
rzopen: ENXIO on rz2b unit 2 part 1
# partions 2, size of 1 = 0
rzopen: ENXIO on rz2c unit 2 part 2
# partions 2, size of 2 = 0
rzopen: ENXIO on rz2d unit 2 part 3
# partions 2, size of 3 = 0
rzopen: ENXIO on rz2e unit 2 part 4
# partions 2, size of 4 = 0
rzopen: ENXIO on rz2f unit 2 part 5
# partions 2, size of 5 = 0
rzopen: ENXIO on rz2g unit 2 part 6
# partions 2, size of 6 = 0
rzopen: ENXIO on rz2 unit 2 part 7
# partions 2, size of 7 = 0
rz1: WARNING: no disk label
rz1: WARNING: using ULTRIX partition information