Disklabeling fails in 3.2G

From: Hellebo Knut <Knut.Hellebo_at_nho.hydro.com>
Date: Fri, 22 Nov 1996 15:51:25 +0100 (MET)

Regards managers,

I have a strange problem labeling a rz26l with 'disklabel' under 3.2G. A
short recap:

1. 'disklabel -rw rz0 rz26l' produces

"disklabel: ioctl DIOCWDINFO: Open partition would move or shrink
Use alternate partition"

so I hurry along using /dev/rrz0c remembering that this is a common
errormessage when trying to shrink a partition using the default 'rz0'
device. So I do:

2. disklabel -rw /dev/rrz0c rz26l which also fails with the same error.

After doing a /usr/lbin/zeero on the disk (rz0a and rz0c) and still getting
the errors I realized I was fighting against an unknown monster. I have
tried everything I can think of, everything produces the above
errormessage.
B.t.w, 'disklabel -r rz0' and 'disklabel -r /dev/rrz0c' both give

"Disk is unlabeled or, /dev/rrz0c does not start at block 0 of the disk"

Any ideas ?

I enclose the persistant disklabel as an attachment.



-- 
      ******************************************************************
      *         Knut Hellebų                     | DAMN GOOD COFFEE !! *
      *         Norsk Hydro a.s                  | (and hot too)       *
      * Phone: +47 55 996870, Fax: +47 55 996342 |                     *
      * Pager: +47 96 500718                     |                     *
      * E-mail: Knut.Hellebo_at_nho.hydro.com       | Dale Cooper, FBI    *
      ******************************************************************


# /dev/rrz0a:
type: SCSI
disk: rz26l
label:
flags:
bytes/sector: 512
sectors/track: 57
tracks/cylinder: 14
sectors/cylinder: 798
cylinders: 2570
sectors/unit: 2050860
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: 131072 0 unused 1024 8192 # (Cyl. 0 - 164*)
  b: 262144 131072 unused 1024 8192 # (Cyl. 164*- 492*)
  c: 2050860 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 2569)
  d: 1657644 393216 LSMsimp # (Cyl. 492*- 2569*)
  e: 552548 945764 unused 1024 8192 # (Cyl. 1185*- 1877*)
  f: 552548 1498312 unused 1024 8192 # (Cyl. 1877*- 2569*)
  g: 819200 393216 unused 1024 8192 # (Cyl. 492*- 1519*)
  h: 838444 1212416 unused 1024 8192 # (Cyl. 1519*- 2569*)
Received on Fri Nov 22 1996 - 16:15:43 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT