From owner-freebsd-scsi Mon Oct 6 16:02:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA06785 for freebsd-scsi-outgoing; Mon, 6 Oct 1997 16:02:12 -0700 (PDT) (envelope-from owner-freebsd-scsi) Received: from veda.is (adam@veda.is [193.4.230.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA06751; Mon, 6 Oct 1997 16:01:43 -0700 (PDT) (envelope-from adam@veda.is) Received: (from adam@localhost) by veda.is (8.8.7/8.8.5) id XAA10829; Mon, 6 Oct 1997 23:00:38 GMT From: Adam David Message-Id: <199710062300.XAA10829@veda.is> Subject: fixing bad SCSI sectors? To: freebsd-questions@freebsd.org, freebsd-scsi@freebsd.org Date: Mon, 6 Oct 1997 23:00:38 +0000 (GMT) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk How do I start fixing this disk? It suddenly developed these errors after a "bt0 not accepting commands" hang, while a second identical disk on the same 445C controller was unaffected. fsck and dd are of no use while there are sectors with hard errors. Do I need to use scsi(8) to remap or reformat the sectors, and which command bytes would be needed? Or is there an easier way other than reformatting the whole disk? The BT BIOS utility lists the units found on the SCSI bus when asked to verify the disk, which is an identical result to the next option down on the diagnostic menu (the one that is supposed to display this information). Here are the errors... (first round) sd1: MEDIUM ERROR info:0x2a0 asc:12,0 Address mark not found for id field , retries:4 sd1: MEDIUM ERROR info:0x29f asc:16,4, retries:3 sd1: MEDIUM ERROR info:0x2a1 asc:12,0 Address mark not found for id field , retries:2 sd1: MEDIUM ERROR info:0x2a0 asc:12,0 Address mark not found for id field , retries:1 sd1: MEDIUM ERROR info:0x2a0 asc:12,0 Address mark not found for id field , FAILURE And why is there space before the commas? So, how do I repair the disk without completely reformatting it? Please? :) --------------------------------------------------------------------------- | Adam David | What's a bigger annoyance than toll bridges? | | | Bill Gates! | +========================+ Why? | | Because we're _still_ waiting for him to put the curtains on Windows! |