Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 1997 23:00:38 +0000 (GMT)
From:      Adam David <adam@veda.is>
To:        freebsd-questions@freebsd.org, freebsd-scsi@freebsd.org
Subject:   fixing bad SCSI sectors?
Message-ID:  <199710062300.XAA10829@veda.is>

next in thread | raw e-mail | index | archive | help
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?  |
|     <adam@veda.is>     |  Bill Gates!                                   |
+========================+  Why?                                          |
|  Because we're _still_ waiting for him to put the curtains on Windows!  |



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