From owner-freebsd-questions@FreeBSD.ORG Sun May 13 08:13:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40E4F16A403 for ; Sun, 13 May 2007 08:13:46 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id E7D3813C447 for ; Sun, 13 May 2007 08:13:45 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from TEDSDESK (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id l4D8Die1081446; Sun, 13 May 2007 01:13:45 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Grant Peel" , Date: Sun, 13 May 2007 01:14:57 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <005101c7942f$ad805130$6501a8c0@GRANT> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Sun, 13 May 2007 01:13:45 -0700 (PDT) Cc: Subject: RE: camcontrol X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2007 08:13:46 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Grant Peel > Sent: Friday, May 11, 2007 5:51 PM > To: freebsd-questions@freebsd.org > Subject: Re: camcontrol > > > I have already set camcontrol to tell the system to stop using > that part of the drive per the FAQ and Handbook: > > AWRE (Auto Write Reallocation Enbld): 1 > ARRE (Auto Read Reallocation Enbld): 1 > But, it still tries to read the block in question (3abd5c1). Then you are screwed. The drive is using some sort of remapping and the actual block with the problem is somewhere else. > It > is always that same block, so the badness does not seem to be > growing.Is there a way to diagnose what file it is trying to > read? (perhaps I could remove that inode?) No and no. What you need to do is backup the disk, then boot into MS-DOS and run the disk drive manufacturer's software that forces the SCSI disk to update it's bad sector list and remap the bad block. A modern SCSI disk should NEVER show an error because it is always silently remapping bad sectors. All disks lose a sector now and then, that is why they have spare sectors and a bad sector list. You will never see a report of a bad sector until the day comes that the disk has had so many sectors fail that it's used up it's spare sectors. Years ago there were some disks that while they had this capability it was disabled by default - I have no idea why - and when a bad sector did develop the disk would report it until you sent the device a scsi format command, then the remapping would happen. There are some disk programs on the Internet that can do this as well. Ted -Grant----- Original > Message ----- > From: Lowell Gilbert > To: Grant Peel > Cc: freebsd-questions@freebsd.org > Sent: Friday, May 11, 2007 10:51 AM > Subject: Re: camcontrol > > > "Grant Peel" writes: > > > I have a disk that may be going bad, SCSI. > > > > How do I tell camcontrol to stop using parts of the disk that > show errors? > > > > such as: > > > > (da0:ahc0:0:1:0): READ(10). CDB: 28 0 3 ab d5 c1 0 0 e 0 > > (da0:ahc0:0:1:0): MEDIUM ERROR info:3abd5c1 asc:11,1 > > (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f > > Please see the FAQ entry on this topic. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > ------------------------------------------------------------------ > ------------ > Total Control Panel Login > To: gpeel@thenetnow.com Block messages from this sender > (blacklist) > From: owner-freebsd-questions@freebsd.org Remove this > sender from my whitelist > > You received this message because the sender is on your > whitelist. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > >