[2626] in linux-scsi channel archive
Re: SCSI medium error
daemon@ATHENA.MIT.EDU (Marc SCHAEFER)
Mon Oct 13 03:14:33 1997
From: Marc SCHAEFER <schaefer@alphanet.ch>
Date: 13 Oct 1997 09:02:38 +0200
Apparently-To: linux-scsi@vger.rutgers.edu
To: ;@unlisted-recipients (no To-header on input)
Marc SCHAEFER <schaefer@alphanet.ch> wrote:
> Usually they should be replaced. Maybe the scsiinfo command
No, there doesn't seem to be. To remap bad blocks, I see two options:
- either set the drive up so it will do automatic replacements
(mode select, by hand through /dev/sgx, or maybe scsiinfo)
- or use a program that does scans/replace, e.g. Adaptec boot BIOS
utility, or maybe a Linux program I do not know of.
NB: on other UNIX system I did use in the past, you could do something
like
replace < /var/log/messages
and it would analyze the logs and replace the failed blocks
automatically.