From owner-freebsd-scsi Tue Oct 16 13:52:39 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by hub.freebsd.org (Postfix) with ESMTP id 5A25A37B405 for ; Tue, 16 Oct 2001 13:52:35 -0700 (PDT) Received: (from wkb@localhost) by freebie.xs4all.nl (8.11.6/8.11.6) id f9GKqSE01667; Tue, 16 Oct 2001 22:52:28 +0200 (CEST) (envelope-from wkb) Date: Tue, 16 Oct 2001 22:52:28 +0200 From: Wilko Bulte To: Joerg Wunsch Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: Unrecovered read error and corresponding ASC Message-ID: <20011016225228.A1518@freebie.xs4all.nl> References: <20490.1002979652@verdi.nethelp.no> <200110161818.f9GIIhY58740@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <200110161818.f9GIIhY58740@uriah.heep.sax.de>; from j@uriah.heep.sax.de on Tue, Oct 16, 2001 at 08:18:43PM +0200 X-OS: FreeBSD 4.4-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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