Subject: Re: Of SCSI disks and media errors
To: Eric S. Hvozda <hvozda@ack.org>
From: Frederick Bruckman <fredb@sa.enteract.com>
List: netbsd-help
Date: 08/20/1998 13:33:53
On Wed, 19 Aug 1998, Eric S. Hvozda wrote:

> I've got some SCSI disks here that recently have begun to report
> "Media Error".
> 
> I was under the impression that "modern" SCSI disks don't report
> media errors until their spare sectores are exhausted.  Is this true?

AFAIK, If a drive is set up to replace bad blocks automatically (on read),
it will replace the bad block with a blank one. The data will be lost.
It has to report this to the user somehow, so you get a "media error" on
every read. After a succesful write to the (substitute) sector, the error
goes away.

I've verified this on SyQuest type drives on NetBSD, with SCSI_VERBOSE set
in the kernel options. That particular cartridge didn't last long,
however.

> Or can I breath new life (and lose the media errors) by doing a low
> level format on the disk or is it at the end of its useful life?

Typically, a "modern" drive (SCSI, >500MB) doesn't find any new bad blocks
unless is has serious mechanical problems. An older ESDI might find a
couple of bad sectors and go on for many more years; a 3-1/2 SCSI often
fails the low-level format, and then you know for sure that it's unusable.
As long as you're prepared to throw it out anyway, it can't hurt to try.
All things considered, I'd give it about a 50-50 chance. ;)