From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 28 12:31:49 2003 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D82C737B401 for ; Mon, 28 Apr 2003 12:31:48 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id D366E43F85 for ; Mon, 28 Apr 2003 12:31:47 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.9/8.12.5) with ESMTP id h3SJVlPM091757; Mon, 28 Apr 2003 13:31:47 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id h3SJVk14091756; Mon, 28 Apr 2003 13:31:46 -0600 (MDT) (envelope-from ken) Date: Mon, 28 Apr 2003 13:31:45 -0600 From: "Kenneth D. Merry" To: Dag-Erling Smorgrav Message-ID: <20030428133145.A91628@panzer.kdm.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from des@ofug.org on Sun, Apr 27, 2003 at 12:54:52AM +0200 cc: scsi@freebsd.org Subject: Re: relocation info X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2003 19:31:49 -0000 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