From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,2ed64eb9d7fd7339,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,2ed64eb9d7fd7339,start X-Google-Attributes: gidfee84,public From: williams@nssdc.gsfc.nasa.gov (Jim Williams) Subject: Seagate Disk Troubles with OSF/1 2.0 Date: 1995/04/20 Message-ID: <3n5ors$e2g@post.gsfc.nasa.gov> X-Deja-AN: 101268541 organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA followup-to: comp.unix.osf.osf1 newsgroups: comp.unix.osf.osf1,comp.sys.dec We have an AXP 3000/600 running OSF1 v2.0 to which we have attached a Seagate ST410800N 9GB disk. This drive has been working reasonably well, however we've recently started having problems with it. When attempting to tar up a bunch of files on this drive I got this message: a home/nssdc/dwilliam/temp/Mar10merc8-A 11642 blocks tar: Read error on home/nssdc/dwilliam/temp/Mar10merc8-A: I/O error tar: tape write error: I/O error I looked in /var/adm/messages and found: ROOT@nssdc.gsfc.nasa.gov # Apr 19 15:56:25 nssdc vmunix: cam_logger: CAM_ERROR packet Apr 19 15:57:26 nssdc vmunix: cam_logger: bus 1 target 6 lun 0 Apr 19 15:57:26 nssdc vmunix: sim_err_sm Apr 19 15:57:27 nssdc vmunix: Target went to message out phase Apr 19 15:57:27 nssdc vmunix: cam_logger: CAM_ERROR packet Apr 19 15:57:27 nssdc vmunix: cam_logger: bus 1 target 6 lun 0 Apr 19 15:57:29 nssdc vmunix: sim_err_sm Apr 19 15:57:30 nssdc vmunix: Target went to bus free phase Apr 19 15:57:31 nssdc vmunix: cam_logger: CAM_ERROR packet Apr 19 15:57:32 nssdc vmunix: cam_logger: bus 1 target 6 lun 0 Apr 19 15:57:32 nssdc vmunix: ss_perform_timeout Apr 19 15:57:32 nssdc vmunix: timeout on disconnected request Apr 19 15:57:32 nssdc vmunix: cam_logger: CAM_ERROR packet Apr 19 15:57:32 nssdc vmunix: cam_logger: bus 1 target 6 lun 0 Apr 19 15:57:33 nssdc vmunix: cdisk_check_sense Apr 19 15:57:33 nssdc vmunix: Medium Error bad block number: 1458235 Apr 19 15:57:33 nssdc vmunix: Hard Error Detected Apr 19 15:57:33 nssdc vmunix: UNKNOWN Apr 19 15:57:33 nssdc vmunix: Active CCB at time of error Apr 19 15:57:33 nssdc vmunix: CCB request completed with an error Apr 19 15:57:34 nssdc vmunix: Error, exception, or abnormal condition Apr 19 15:57:34 nssdc vmunix: MEDIUM ERROR - Nonrecoverable medium error It looks a little like a bad block. I've read a bunch of man pages and I'm at a loss to know what to do with a bad block. I thought modern SCSI drives dealt with them internally. I can't seem to find a disk maintenance program for rz disks. I'm I missing something? I have since found other files that I am unable to read, so the error isn't confined to this one file. For what it's worth, here's the output from disklabel for this disk, followed by the entry in /etc/disktab that I used. ROOT@nssdc.gsfc.nasa.gov # disklabel rrz14a # /dev/rrz14a: type: SCSI disk: ST410800N label: flags: 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 4.2BSD 1024 8192 16 # (Cyl. 0 - 36*) b: 262144 131072 unused 1024 8192 # (Cyl. 36*- 109*) c: 17689266 0 unused 1024 8192 # (Cyl. 0 - 4925) d: 0 0 unused 1024 8192 # (Cyl. 0 - -1) e: 0 0 unused 1024 8192 # (Cyl. 0 - -1) f: 0 0 unused 1024 8192 # (Cyl. 0 - -1) g: 8648025 393216 4.2BSD 1024 8192 16 # (Cyl. 109*- 2517*) h: 8648025 9041241 4.2BSD 1024 8192 16 # (Cyl. 2517*- 4925*) # # Partition table for 9GB Seagate disk - JWW 18 Sep 1994 # ST410800N:\ :ty=winchester:dt=SCSI:ns#133:nt#27:nc#4926:\ :oa#0:pa#131072:ba#8192:fa#1024:\ :ob#131072:pb#262144:bb#8192:fb#1024:\ :oc#0:pc#17689266:bc#8192:fc#1024:\ :od#0:pd#0:bd#8192:fd#1024:\ :oe#0:pe#0:be#8192:fe#1024:\ :of#0:pf#0:bf#8192:ff#1024:\ :og#393216:pg#8648025:bg#8192:fg#1024\ :oh#9041241:ph#8648025:bh#8192:fh#1024: Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/rz3a 63231 29983 26924 53% / /proc 0 0 0 100% /proc /dev/rz3g 801763 487350 234236 68% /usr /dev/rz14a 62927 49418 7216 87% /var /dev/rz14g 4193529 3711133 63043 98% /home /dev/rz14h 4193529 3721767 52409 99% /ncf/nssdc Any suggestions would be most appreciated, Jim -- -- James W. Williams NASA Goddard Space Flight Center -- williams@nssdc.gsfc.nasa.gov Code 633 -- +1 301 286-1131 Greenbelt, MD 20771