Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2001 20:18:43 +0200 (MET DST)
From:      j@uriah.heep.sax.de (Joerg Wunsch)
To:        freebsd-scsi@freebsd.org
Subject:   Re: Unrecovered read error and corresponding ASC
Message-ID:  <200110161818.f9GIIhY58740@uriah.heep.sax.de>
References:  <20490.1002979652@verdi.nethelp.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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).

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'

(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!)

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

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

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?200110161818.f9GIIhY58740>