[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-scsi
Subject: Re: disk errors
From: Mike Smith <mike () smith ! net ! au>
Date: 1998-08-13 16:27:59
[Download RAW message or body]
>
> On Wed, 12 Aug 1998, Mike Smith wrote:
>
> > > I've formatted my new 4G IBM scsi disk, and I'm trying to copy the
> > > contents of an existing 2G disk onto it before moving the 2G disk out of
> > > the machine. During the copy, I got error messages that stopped the
> > > copy, and my /var/log shows:
> > >
> > > Aug 12 20:14:31 picnic /kernel: sd2: MEDIUM ERROR info:0x81007f asc:11,0
> > > Unrecovered read error sks:80,33
> > >
> > > Lot's of those errors, as the disk was retried lots of times. I tried
> > > redoing the copy, and the same error shows up. This is a new disk, and
> > > I've only disklabeled and newfs'ed it; is there any procedure I should
> > > have followed to detect and spare out any bad sectors? The controller's
> > > a NCR 875, and not yet running CAM.
> >
> > See the SCSI(8) manpage for an example of editing mode page 1; set ARRE
> > and AWRE to 1.
>
> OK, did that, but they were already set to 1. I still get those errors,
> so if that ARRE and AWRE set to 1 means that the sectors should be
> automatically spared out, it's either not happening or maybe there isn't
> enough bad sector space?
You won't get a reallocation on an unrecovered read error; you'll have
to arrange a write to it first. The best way to do this is just 'dd'
over the whole disk.
> Or maybe I formatted it wrong. I did a disklabel, and then a newfs,
> before mounting it. Is there any kind of surface scan thing, like I've
> seen from the software provided by other controllers?
See above.
--
\\ 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. \\ msmith@cdrom.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic