From owner-freebsd-questions Fri Mar 14 2:40:49 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDC3937B401 for ; Fri, 14 Mar 2003 02:40:47 -0800 (PST) Received: from hauptpostamt.charite.de (hauptpostamt.charite.de [193.175.66.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A67F43F75 for ; Fri, 14 Mar 2003 02:40:46 -0800 (PST) (envelope-from alexander.haderer@charite.de) Received: from postamt1.charite.de (postamt1.charite.de [193.175.66.246]) by hauptpostamt.charite.de (Postfix) with ESMTP id DE05D15C005; Fri, 14 Mar 2003 11:40:43 +0100 (CET) Received: from chaplin.charite.de (chaplin.str.charite.de [192.168.202.88]) by postamt1.charite.de (Postfix) with ESMTP id B845A633B3; Fri, 14 Mar 2003 11:40:43 +0100 (CET) Message-Id: <5.2.0.9.1.20030314112214.019ec520@postamt1.charite.de> X-Sender: afrika@postamt1.charite.de X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Fri, 14 Mar 2003 11:37:22 +0100 To: Mike Meyer , Dragoncrest From: Alexander Haderer Subject: Re: Possible drive failing?? Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <15984.48785.641871.635988@guru.mired.org> References: <4.2.0.58.20030313091740.009de820@pop.voyager.net> <4.2.0.58.20030313091740.009de820@pop.voyager.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 11:23 13.03.2003 -0600, Mike Meyer wrote: >In <4.2.0.58.20030313091740.009de820@pop.voyager.net>, Dragoncrest > typed: > > Hi all. I got this message in my daily reports and I've got a > > question. Does this signal possible disk troubles or potential > > failure? Here's the message. > > > ad0s1g: hard error writing fsbn 13434039 of 5930556-5930559 (ad0s1 bn > > 13434039; cn 836 tn 58 sn 45) trying PIO mode > > > ad0: DMA problem fallback to PIO mode > > Is that something I can ignore, or should I keep an eye on this?? > >Well, there is some possibility that it's just a one-time hiccup. More >likely, the drive has already exhuasted it's supply of replacement >blocks, as modener drives do bad block remapping all by themselves. In >the latter case, the drive is about to fail catastrophically. At the >very least, I'd keep a very close eye on the drive, and double-check >my backups if I saw that happen to one of my drives. Depending on how >critical that system is, I may have a backup ready, or replace the >drive under controlled conditions before things get worse. I completly agree with Mike. We have lots of IDE disks running under FreeBSD and made some experience. Here are some additional Tips: 1. The disk may still run for some days and then fail completly with a kernel hang, as Mike wrote above. 2. Switching the system off and on may force the final "shutdown" of the disk. 3. try doing a backup with PIO mode on as long as the disk is willing to talk to you 4. download the diagnosis tool from the disk manufacturer and do a deep test. According to your message I expect the diagnosis will detect errors. Check the drive guarantee. 5. Cable and connector problems usually show up as "UDMA CRC error" with "falling back to PIO". In this case try to "downclock" the UDMA mode with "atacontrol mode" (FreeBSD 4.6 ? and above). with best regards Alexander -- Alexander Haderer Charite Berlin - Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message