Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!altos!amdahl!dwl10 From: dwl10@uts.amdahl.com (Dave Lowrey) Newsgroups: comp.sys.amiga.tech Subject: Re: disk "keys" Message-ID: <62Gj02bea4fI01@amdahl.uts.amdahl.com> Date: 5 May 90 13:55:03 GMT References: <37SF02dNa4kc01@amdahl.uts.amdahl.com> Reply-To: dwl10@amdahl.uts.amdahl.com (Dave Lowrey) Organization: Amdahl Corporation, Houston TX Lines: 71 In article <37SF02dNa4kc01@amdahl.uts.amdahl.com> dwl10@uts.amdahl.com (Dave Lowrey) writes: Well, after some research, I am able to answer some of my own questions! I fond a back issue of transactor that explained the FFS (and OFS) format. >What exactly are disk "keys"? > They live in a "file header", which describes a file. The key is really the block number of the header. >I am having some problems with my hard drive, and need some help figuring >out what exactly is happening. > >I have an A2500, 2909A controller, and a 43+Meg Rodime hard drive. > >A week ago, I got the dreaded "Disk Read/Write error" requestor. I >had recently done a backup, so I formated the partition, and >re-loaded the data. > >To be sure that all was OK, I ran disksalv against the partition, and >it came up with several "Block Key Mismatch" errors. > >To make sure it wasn't my backup program (quarterback), I re-formated >the partition, and installed Lattice 5.0. Disksalv again found several >"Block Key Mismatch" errors. This time it was different blocks. > >I then took my drive, and low level formated it on a PC. The format and >verify went clean. I therfore don't think the problem is a media error. > >The "Bad" blocks are consistant, in that the same block number is "bad" >whenever I do the same load. If I re-install Lattice, after restoring >the rest of the disk, I still get some new "Bad" blocks, but in a different >file. > >The really weird thing is that the supposedly "bad" files can be read! No >data appears to be missing, and no errors occur when I access the file. > >Now for my questions..... > >What exactly is a "Block Key". I assume it is written when the disk is >formatted. Are they ever re-written? > See above for description. They are created when the file header is create I assume they are re-written if the header is updated. >Is there a utility that I can use that displays the keys? Can they be >"fixed" so that they are correct? > Yes, I used "disked" from the software toolkit. They keys can be changes, as they are just data in a sector. >Is disksalv maybe giving me "false" errors? > Yes and No. Here is what I found out: There really are bad headers on the disk. However, these headers are NOT part of the filesystem! They are lone sectors, sitting on the disk that have header info in them, but are never referenced. Since the disk was clean before I reloaded the software, I have no idea of where these headers came from. No files should have been deleted during re-load, so why are they there????? Any ideas ????? -- "This ain't Rock 'N Roll, | These be my words, not my employer's! this is Genocide!" |Dave Lowrey - Amdahl Corp. - Houston, TX David Bowie - |In Texas: {moray,uhnix1}!starsoft!david "Daimond Dogs" |The World: dwl10@uts.amdahl.com (amdahl!dwl10)