*BSD News Article 68531


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!newshub.tc.umn.edu!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to reassign SCSI blocks?
Date: 14 May 1996 22:52:43 GMT
Organization: Private BSD site, Dresden
Lines: 21
Message-ID: <4nb2rr$20d@uriah.heep.sax.de>
References: <4n5l3c$82d@clarknet.clark.net> <4n6ulh$74c@itchy.serv.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

zeno@serv.net (Sean T. Lamont) wrote:

> I have the following error on one block of one of my disks:
> 
> sd2(ahc0:3:0): MEDIUM ERROR info:15c040 asc:aa,0
> 
> Presumably the 15c040 is the bad block, but my question is how can
> you force the driver to reassign? My understanding was that it was
> supposed to do so automagically, but it's been going for several
> hours now with the same error.

Most drives ship with automatic sector reallocation disabled.  You can
use scsi(8) with the -e option to change this (i think it's mode page
#1 -- watch out for AWRE and ARRE).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)