Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2003 13:31:45 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        scsi@freebsd.org
Subject:   Re: relocation info
Message-ID:  <20030428133145.A91628@panzer.kdm.org>
In-Reply-To: <xzpadec50oz.fsf@flood.ping.uio.no>; from des@ofug.org on Sun, Apr 27, 2003 at 12:54:52AM %2B0200
References:  <xzpadec50oz.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 27, 2003 at 00:54:52 +0200, Dag-Erling Smorgrav wrote:
> I have a SCSI disk which is showing signs of surface errors.  I've
> tried to dd /dev/zero over it several times, but I never get write
> errors - only unrecoverable read errors.  Both AWRE and ARRE are
> enabled, but I never get errors when I write to the disk, so nothing
> gets relocated.  Is there any way I can force relocation of the
> sectors which exhibit read errors?

You can try 'camcontrol reassign'.  joerg sent me patches last Fall to
implement it, and I've been planning on turning it into a scan and
reassign tool.  (i.e. scan the disk, look for read errors, and attempt to
reassign the block)

Anyway, the patches are here:

http://people.FreeBSD.org/~ken/camcontrol.reassign.20030428

Let me know how things work.

Ken
-- 
Kenneth Merry
ken@kdm.org



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