From owner-freebsd-questions@FreeBSD.ORG Mon Nov 19 07:30:24 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 386B716A41A for ; Mon, 19 Nov 2007 07:30:24 +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 EF65213C474 for ; Mon, 19 Nov 2007 07:30:23 +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 lAJ7UEnU094677; Sun, 18 Nov 2007 23:30:15 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "David Newman" Date: Sun, 18 Nov 2007 23:30:35 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914 In-Reply-To: <20071112160347.GA98697@gizmo.acns.msu.edu> Importance: Normal Cc: freebsd-questions@freebsd.org Subject: RE: dealing with a failing drive 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: Mon, 19 Nov 2007 07:30:24 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Jerry > McAllister > Sent: Monday, November 12, 2007 8:04 AM > To: David Newman > Cc: freebsd-questions@freebsd.org > Subject: Re: dealing with a failing drive > > > On Sat, Nov 10, 2007 at 05:22:06PM -0800, David Newman wrote: > > I vaguely remember trying about a year ago to load a SMART utility from > > the ports collection but it wouldn't work on drives in a RAID array. > > > > Is there some other way to: > > > > a) diagnose/fix the errant disk here? > > b) monitor the health of disks on a Compaq controller so it doesn't get > > to this point to begin with? > > Hi David, apologies to Jerry for jumping in. Compaq uses several RAID cards most are under the so-called "SmartArray" using the ida driver. If this is yours, you can use a utility called "idacontrol" that can monitor the array, here's the instructions for using it. You will need usrsbin sources installed: ) Install idacontrol cd /usr/ports mkdir distfiles cd /usr/ports/distfiles mkdir manual-build cd manual-build fetch ftp://ftp.jurai.net/users/winter/idacontrol.tar cd /usr/src tar xf /usr/ports/distfiles/manual-build/idacontrol.tar cd /usr/src/usr.sbin/idacontrol vi makefile change variable NOMAN to NO_MAN make obj && make depend && make && make install cd idacontrol show | grep "Status" IF status is fully up it will say: Status: Logical drive ok IF status is degraded it will say 1 of several other error messages. More on PR i386/70482 and on thread: http://lists.freebsd.org/pipermail/freebsd-scsi/2005-September/002009.html NOTE: The smart utility only works on SATA or ATA/IDE drives, not SCSI. Ted