Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2001 22:52:28 +0200
From:      Wilko Bulte <wkb@freebie.xs4all.nl>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: Unrecovered read error and corresponding ASC
Message-ID:  <20011016225228.A1518@freebie.xs4all.nl>
In-Reply-To: <200110161818.f9GIIhY58740@uriah.heep.sax.de>; from j@uriah.heep.sax.de on Tue, Oct 16, 2001 at 08:18:43PM %2B0200
References:  <20490.1002979652@verdi.nethelp.no> <200110161818.f9GIIhY58740@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 16, 2001 at 08:18:43PM +0200, Joerg Wunsch wrote:
> sthaug@nethelp.no wrote:
> 
> > Assuming it simply means I have a bad block,
> 
> Yes, it does.
> 
> > what's the easiest way to
> > force a reassignment of the block?
> 
> dd if=/dev/zero of=/dev/rda3 skip=0x206e016 count=1
> 
> This assumes you've got automatic bad block reallocation
> turned on (modepage 1).

Look for AWRE and ARRE in the mode page.

> Another option is to reformat it, but IMHO camcontrol didn't provide a
> »canned« option for this in FreeBSD 3.4.  You could manually do it
> with
> 
> camcontrol cmd -n da -u 3 -t 7200 -c '4 0 0 0 0 0'

camcontrol format also works for recent FreeBSD versions. man camcontrol
is really recommended reading here.

> (Careful, there are no seat belts with this command -- if you get it
> wrong, in particular that -u 3, you might format another drive without
> any further questions being asked!)

camcontrol format will ask and is therefore prefered.

Wilko

-- 
|   / o / /_  _   		email: 	wilko@FreeBSD.org
|/|/ / / /(  (_)  Bulte		Arnhem, The Netherlands	

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011016225228.A1518>