From owner-freebsd-hardware Sun Jan 25 17:16:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA11151 for hardware-outgoing; Sun, 25 Jan 1998 17:16:13 -0800 (PST) (envelope-from owner-freebsd-hardware@FreeBSD.ORG) Received: from word.smith.net.au (ppp6.portal.net.au [202.12.71.106]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA11136 for ; Sun, 25 Jan 1998 17:16:01 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id LAA00549; Mon, 26 Jan 1998 11:39:01 +1030 (CST) Message-Id: <199801260109.LAA00549@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Joe McGuckin cc: hardware@FreeBSD.ORG Subject: Re: SCSI bad block handliong ? In-reply-to: Your message of "Sun, 25 Jan 1998 11:26:41 -0800." <199801251926.LAA08737@monk.via.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 26 Jan 1998 11:39:01 +1030 From: Mike Smith Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I have 3 scsi drives in a CCD array. I'm getting system crashes that I > think are related to it. I'm also getting quite a number of error > messages from INND about disk writing problems. > > FSCK reports that it can't read blocks 25081600 - 25081609. > > How can I make the drive remap these blocks ? See the scsi(8) manpage for instructions on editing the mode page that contains the ARRE/AWRE bits; these need to be set for the drive to automatically reallocate blocks. You may then need to actually write to the blocks before they will be reallocated, which will generally involve using dd to plaster the entire disk (unless you write a program to write to just the offending parts of the raw device). -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\