Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Gulnara Ajupova <gulnara@cyclotronmail.tamu.edu>
Subject: Re: bad blocks on disk
Date: 2000/10/24	[thread overview]
Message-ID: <39F5F61F.C2616141@cyclotronmail.tamu.edu> (raw)
In-Reply-To: 8t4jgs$af5$1@mailint03.im.hou.compaq.com

"Alan Rollow - Dr. File System's Home for Wayward Inodes." wrote:
> 
> In article <39F59CEE.F2CA6374@cyclotronmail.tamu.edu>, Gulnara Ajupova <gulnara@cyclotronmail.tamu.edu> writes:
> >
> >Would someone know (and share the knowledge) how to remap bad blocks on
> >the disk?
> >
> >I have had the SCSI disk crash  (/users) on a DECstation 5000/200
> >running Ultrix.
> 
> What version of ULTRIX.  Later versions (V4.3A and there-abouts)
> support scu(8), which allows access to the SCSI Reassign Block
> command with its "reassign lba" command.  On older versions you
> can use rzdisk with the -r option.

I have Ultrix4.4. I ran rzdisk -r block /dev/rrz* and it sounded 
like it failed, but the second attempt showed that the blocks were 
actually replaced. I also did the scanning for bad blocks with the 
same rzdisk utility before I tried to repair them (just to see if 
any more sprang up). And I am doing fsck on it right now. Thanks 
a lot!

> 
> If the driver had managed to read a good copy of the data on one
> of its many retries, it would have replaced the block for you
> and written the new block with the good data.  So, wherever the
> block is, it has corrupt data.  If fsck(8) is noticing the
> blocks then they're at least in the file system metadata space;
> cylinder group blocks, inodes, etc.  Fsck(8) doesn't read user
> data.
> 
> Once you fix those blocks, you'll need to run fsck again and
> see what's broken, note the files affected and use other tools
> to determine the full extent of the damage.  Some files may
> be lost, others may simply end up being misplaced (in lost+found).
> 
> You'll also want to scan for more bad blocks in the file data
> area.  Both scu(8) and rzdisk(8) have this feature.  If the
> disk isn't getting any better, then you may not be able to
> fix the blocks faster than new ones go bad.  If that's the
> case see if the conv=noerror option of dd(1) will let you
> skip over bad blocks.
> 
> 
> >Please help!
> >--
> > Gulnara Ajupova
> >-----------------------------------------------------------------------------
> >  gulnara@cyclotronmail.tamu.edu // Phone (979) 845-1411 // Fax (979)
> >845-1899
> >
> >3366 Cyclotron Institute, Texas A&M University, College Station, TX
> >77843-3366
> >-----------------------------------------------------------------------------
> >
> --
> Alan Rollow                             alan@nabeth.cxo.dec.com

-- 
 Gulnara Ajupova
-----------------------------------------------------------------------------
  gulnara@cyclotronmail.tamu.edu // Phone (979) 845-1411 // Fax (979)
845-1899 

3366 Cyclotron Institute, Texas A&M University, College Station, TX
77843-3366
-----------------------------------------------------------------------------



      reply	other threads:[~2000-10-24  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-24  4:00 bad blocks on disk Gulnara Ajupova
2000-10-24  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2000-10-24  4:00   ` Gulnara Ajupova [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox