Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!usc!snorkelwacker!bloom-beacon!bloom-beacon.mit.edu!jtkohl From: jtkohl@MIT.EDU (John T Kohl) Newsgroups: comp.sys.dec Subject: Re: Dead disk on microVAX? Message-ID: Date: 12 Jul 90 15:38:20 GMT References: <76742@cc.utah.edu> Sender: daemon@athena.mit.edu (Mr Background) Organization: MIT Project Athena Lines: 20 In-Reply-To: SJCOLE@cc.utah.edu's message of 11 Jul 90 17:08:49 GMT There are two ways to remedy this: 1) if you can find the stand-alone program rabads (or rqbads for q-bus machines), boot it, and select 'init' on the drives affected; it will scan the disk and do some bad block replacement. Write down the block numbers, convert to filesystem block #'s, and after rebooting use ncheck,icheck,dcheck to find what file/directory contains those blocks; those files/directories should be considered corrupt. 2) If you can't find rabads/rqbads, write a quick program to write zeroes to the affected block; re-writing the damaged sectors will clear the forced-error bit. Then figure out the files/directories affected by the problem and recreate them, as they are certainly corrupt. BEWARE! I am not speaking in any official capacity here; proceed at your own risk. You take full responsibility for any damages incurred. -- John Kohl or Digital Equipment Corporation/Project Athena (The above opinions are MINE. Don't put my words in somebody else's mouth!)