Subject: Re: Lost target files until reboot
To: George Robbins <grr@shandakor.tharsis.com>
From: brian <bwildasi@csulb.edu>
List: port-mac68k
Date: 07/03/1997 09:31:55
Lost target files until reboot

re: "Check the partitions/disk labels"

What am i looking for in the disklabels? the FWF test shows no growth
defects and no bad sectors for this drive.

On Wed, 2 Jul 1997 06:03:09 -0400 (EDT) George Robbins wrote...
> Does any one know how to fix disk-write problems that fsck sends to the
> console? ...ie, certain blocks that can't be written.
> 
> > > # fsck -fy
> > > ** /dev/rsd2a
> > > MARK FILE SYSTEM CLEAN? yes
> > > CANNOT WRITE: BLK 16
> > > CONTINUE? yes
> > > THE FOLLOWING SECTORS COULD NOT BE WRITTEN:
> > > 16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,
> > > CANNOT WRITE: BLK 208
> > > CONTINUE? yes
> > > THE FOLLOWING SECTORS COULD NOT BE WRITTEN: 208,209,
> > 
> > This problem looks VERY bad. Can you try on of the disk partitioners
> > which does write integrity tests? Stress the drive and see how it
> > does.
> 
> What this is saying is that you cannot write to the disk at all,
> though apparently you are able to read it.  I'm not familar with
> what's done in the Mac port, but it could be a software issue to
> do with your partition setup or it could be a hardware problem
> with cabling or drive.  Check the partitions/disk labels and look
> for other ways to test the drive.
> 
>                                                George
[from original posting]
> > --------------Here's the hardware info for this machine
> > # disklabel sd2
> > # /dev/rsd2c:
> > type: SCSI
> > disk: SCSI disk
> > label: fictitious
> > flags:
> > bytes/sector: 512
> > sectors/track: 38
> > tracks/cylinder: 8
> > sectors/cylinder: 304
> > cylinders: 1058
> > total sectors: 325864
> > rpm: 3600
> > interleave: 1
> > trackskew: 0
> > head switch: 0
> >     # milliseconds
> > track-to-track seek: 0 # milliseconds
> > drivedata: 0
> > 
> > 4 partitions
> > #    size  offset     fstype  [fsize  bsize  cpg]
> > a: 242048      64     4.2BSD   0      0      0      #(Cyl.   0*-796*)
> > b:  83720  242112       swap                        #(Cyl. 796*-1071*)
> > c: 325864       0     unused   0      0             #(Cyl. 0-1071*)
> > d:     32    325832   unknown                       #(Cyl. 1071*-1071*)
> > disklabel: boot block size 0
> > disklabel: super block size 0

Any help is appreciated!

brian w.
bwildasi@csulb.edu