Disklabel a "new" disk

From: Zhi-Wei Lu <zwluxx_at_chopin.cipic.ucdavis.edu>
Date: Wed, 12 Sep 2001 17:10:01 -0700

I am replacing a failed (three months old 36 GB IBM drive)! But I was unable
to put a disklable on it ( I didn't have this problem with three other drives
of the same model before, including this failed on).

disklable -rw rz3 rzxx

gives me this error message:

disklabel: ioctl DIOCSDINFO: Open partition would move or shrink
Use alternate partition


If I do a
disklabel -r rz3

I see the following strange partitions and I can not change anything,
it complains about partition be used and can not be modified!
I just wonder how I can wipe the current partition and put a
new one on! I am running Tru64 UNIX 4.0g. Thanks

# /dev/rrz3a:
type: SCSI
disk: DDYS-T3695
label:
flags: dynamic_geometry
bytes/sector: 512
sectors/track: 399
tracks/cylinder: 12
sectors/cylinder: 4788
cylinders: 15110
sectors/unit: 71687340
rpm: 10000
interleave: 1
trackskew: 11
cylinderskew: 20
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0

5 partitions:
# size offset fstype [fsize bsize cpg] # NOTE: values not exact
  a: 20482875 16065 resrvd8 # (Cyl. 3*- 4281*)
  b: 2104515 20498940 swap # (Cyl. 4281*- 4720*)
  c: 2104515 22603455 resrvd8 # (Cyl. 4720*- 5160*)
  d: 2104515 24707970 resrvd8 # (Cyl. 5160*- 5599*)
  e: 2104515 26812485 resrvd8 # (Cyl. 5599*- 6039*)




-- 
Zhi-Wei Lu 		
CIPIC (Center for Image Processing and Integrated Computing)
UC Davis 	  	Phone:	(530)-752-0494
Davis, CA 95616		Fax:   	(530)-752-8894
Received on Thu Sep 13 2001 - 00:11:09 NZST

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