From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075319906400.tru64-unix-managers.marc@archive.invalid> From: "Tim W. Janes" Date: Thu, 04 May 1995 13:03:17 +0000 To: tru64-unix-managers Subject: Disklabel Problems with 9Gbyte Seagate disk X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075319906400 Hello all, One of our 9Gbyte Seagate disks recently died and I have just got a replacement. Before putting it to real use I thought I would test it out by completely filling it with data the run a few tests with diskx. So I have connected it to a 3000/400 OSF/1 V3.0 and done the following newfs /dev/rrz12c mounted it and filled it with data all OK but I cannot run diskx or disklabel - here is a transcript of my attempts. I have tried the following with the disk mounted and dismounted. blake# /usr/field/diskx -r -f /dev/rrz12c DISKX - DEC OSF/1 Disk Exerciser. Testing disk device /dev/rrz12c. Thu May 4 11:11:36 1995 -------------------------------------------------------------------------------- Read-only Transfer Testing This test verifies that reads will succeed. The data is not verified in any way. Since this test does not write to the disk there is no possibility of file system damage. Reads will be done using random size transfers. The read size will be randomly selected from the range 512 to 65536 bytes. Reads will be issued to random locations on the disk. To accomplish this a seek will be issued before each read to force a read of a different disk region. Testing will continue until an interrupt signal is received. part_overlap: DIOCGDINFO failed Aborting this test due to failure in obtaining partition layout (disk label) from /dev/rrz12c. blake# disklabel -r /dev/rrz12c Bad pack magic number (label is damaged, or pack is unlabeled) blake# disklabel -R /dev/rrz12c 9gig.label disklabel: ioctl DIOCWDINFO: No disk label on disk; use "disklabel -r" to install initial label blake# disklabel -r /dev/rrz12c Bad pack magic number (label is damaged, or pack is unlabeled) blake# disklabel -z /dev/rrz12c Bad pack magic number (label is damaged, or pack is unlabeled) blake# disklabel -w /dev/rrz12c usage: disklabel [-r] disk (to read label) or disklabel -w [-r] [-t advfs | ufs] disk type [ packid ] [ xxboot bootxx ](to write label) or disklabel -wn [-r] disk type [ packid ] (to write label without bootstrap) or disklabel -e [-r] disk (to edit label) or disklabel -R [-r] [-t advfs | ufs] [-n] disk protofile [ type | xxboot bootxx ](to restore label) or disklabel [-NW] disk (to write disable/enable label) or disklabel -z disk (to zero label) blake# disklabel -w /dev/rrz12c /dev/rrz12c disklabel: ioctl DIOCWDINFO: No disk label on disk; use "disklabel -r" to install initial label Any idea what has gone wrong - or how to label this disk. I expect I am missing something obvious but just cannot see what. Thanks for any help. Tim. Tim Janes | e-mail : janes@signal.dra.hmg.gb Defence Research Agency | tel : +44 1684 894100 Malvern Worcs | fax : +44 1684 894384 Gt Britain | #include --------------------------- 9gig.label was obtained by disklabel -R on another identical disk. # /dev/rrz14c: type: SCSI disk: RZxx label: flags: dynamic_geometry bytes/sector: 512 sectors/track: 133 tracks/cylinder: 27 sectors/cylinder: 3591 cylinders: 4926 sectors/unit: 17755614 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 0 0 # (Cyl. 0 - 36*) b: 262144 131072 unused 0 0 # (Cyl. 36*- 109*) c: 17755614 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 4944*) d: 0 0 unused 0 0 # (Cyl. 0 - -1) e: 0 0 unused 0 0 # (Cyl. 0 - -1) f: 0 0 unused 0 0 # (Cyl. 0 - -1) g: 17362398 393216 unused 0 0 # (Cyl. 109*- 4944*) h: 0 0 unused 0 0 # (Cyl. 0 - -1) uerf -o full -R shows the following ********************************* ENTRY 1. ********************************* ----- EVENT INFORMATION ----- EVENT CLASS MAINTENANCE EVENT OS EVENT TYPE 350. DIAGNOSTIC MSG SEQUENCE NUMBER 23. OPERATING SYSTEM DEC OSF/1 OCCURRED/LOGGED ON Thu May 4 11:11:36 1995 OCCURRED ON SYSTEM blake SYSTEM ID xFFBC0004 CPU TYPE: DEC 3000 SYSTYPE x00000000 MESSAGE Diskx - partition ioctl failure: _/dev/rrz12c ********************************* ENTRY 2. ********************************* ----- EVENT INFORMATION ----- EVENT CLASS MAINTENANCE EVENT OS EVENT TYPE 350. DIAGNOSTIC MSG SEQUENCE NUMBER 22. OPERATING SYSTEM DEC OSF/1 OCCURRED/LOGGED ON Thu May 4 11:11:36 1995 OCCURRED ON SYSTEM blake SYSTEM ID xFFBC0004 CPU TYPE: DEC 3000 SYSTYPE x00000000 MESSAGE Diskx - starting test: read test: _/dev/rrz12c ********************************* ENTRY 3. *********************************