RE: dealing with a failing drive





-----Original Message-----
From: owner-freebsd-questions@xxxxxxxxxxx
[mailto:owner-freebsd-questions@xxxxxxxxxxx]On Behalf Of Jerry
McAllister
Sent: Monday, November 12, 2007 8:04 AM
To: David Newman
Cc: freebsd-questions@xxxxxxxxxxx
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
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: F10 install - RAID - nightmare (Solved)
    ... I first tried to install F10 using a DVD that was checked by both sha1sum and disk check on install including the RAID array. ... I did this and ensured that there was no superblock data with mdadm --examine. ... I created a new /etc/mdadm.conf file with the two drives in it like this. ...
    (Fedora)
  • Re: Moving program files off RAID array and de-RAIDING
    ... >>Mike Halmarack wrote: ... >>> RAID array to aid in speed of access. ... >>> separate the drives. ... You will have to do a repair install afterwards on the single ...
    (uk.comp.homebuilt)
  • FastTrak100 RAID - Ghost - Windows2000 - Cryptnet.dll Problem
    ... The RAID array is currently the boot array ... What I want to do is to move the entire OS and application suite off the ... drives, I am screwed.. ...
    (microsoft.public.win2000.general)
  • What is the point of RAID?
    ... In a new box I decided to install Etch with a RAID array. ... had two 1 TB hard drives to use for a RAID 1 array. ... drives as "ordinary" partitions, along with /tmp. ...
    (Debian-User)
  • Re: Using dd to copy a disk.
    ... >> the MBR? ... >> The destination drive will NOT be used in a RAID array. ... >> drives in the RAID array cannot be used outside of the array due to the ... So rsync would be a better way to go, ...
    (Debian-User)