Date: Thu, 13 Aug 1998 09:27:59 -0700 From: Mike Smith <mike@smith.net.au> To: Chuck Robey <chuckr@glue.umd.edu> Cc: Mike Smith <mike@smith.net.au>, FreeBSD-scsi@FreeBSD.ORG Subject: Re: disk errors Message-ID: <199808131627.JAA00449@antipodes.cdrom.com> In-Reply-To: Your message of "Wed, 12 Aug 1998 21:09:24 EDT." <Pine.BSF.4.00.9808122106000.578-100000@picnic.mat.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808131627.JAA00449>