Problems with atacontrol and Hightpoint 730 raid Hardware. 5.2 release.

From: Alberto (WarfoX) De Boni (warfox_at_neobe.it)
Date: 03/11/04

  • Next message: Gareth Bailey: "Reverse DNS - mail error"
    Date: Thu, 11 Mar 2004 12:46:49 +0100
    To: freebsd-questions@freebsd.org
    
    

    Hi all,
        i'm experiencing some problems with FreeBsd 5.2 and an Highpoint
    raid controller (but it happens also with a promise Fasttrack TX2).
    I'm pretty sure it's my failure, but i can't understand what i miss.
    I'm doing this test on 5.x because i plan to migrate from 4.x to new
    release as soon as it'll released as a production platform, so i need as
    much informations as i can.

    I've done a lot of test:
    1- the first test was done creating a RAID 1 array directly from HPT Bios.
    I've two devices ad4 and ad6 and a raid one ar0 as i expect.

    ATA channel 2:
        Master: ad4 <Maxtor 6Y080L0/YAR41BW0> ATA/ATAPI rev 7
        Slave: no device present
    ATA channel 3:
        Master: ad6 <Maxtor 6Y080L0/YAR41BW0> ATA/ATAPI rev 7
        Slave: no device present

    arc# atacontrol status ar0
    ar0: ATA RAID1 subdisks: ad4 ad6 status: READY

    I've installed *BSD successfully without any flaws, rebooted, and all
    was working fine. Then i tried a failure problem on ad4, i've simulated
    it detaching the ata channel: atacontrol detach 2. And i've got a
    degraded array (that's fine).

    arc# atacontrol status ar0
    ar0: ATA RAID1 subdisks: DOWN ad6 status: DEGRADED

    Then i detach physically the drive replacing it with a new one (supposed
    the procedure to substitute a failure HDD).Attached it to channel 2.

    arc# atacontrol attach 2
    Master: ad4 <Maxtor 6Y080L0/YAR41BW0> ATA/ATAPI rev 7
    Slave: no device present

    and then looking at the raid status:

    arc# atacontrol status ar0
    ar0: ATA RAID1 subdisks: DOWN ad6 status: DEGRADED

    All as it was planned. Now i've tried to rebuild the raid, and here we
    are with problems:

    arc# atacontrol rebuild ar0
    arc#
    arc#
    arc# atacontrol status ar0
    ar0: ATA RAID1 subdisks: DOWN ad6 status: DEGRADED

    The rebuild command quits immediatly rebuilding almost nothing. And the
    raid was still in degraded mode.
    Ok. Pherhaps i made a mistake attaching the drive and not attaching a
    spare drive. To avoid any problem i've reinstalled all from scrath and
    execute all the operations except the atacontrol attach.
    Then.. manpages for atacontrol reports:

         atacontrol addspare raid disk

    So, it was supposed to add the channel and then add disk to raid:

    new disk as master

    arc# atacontrol attach 2
    Master: ad4 <Maxtor 6Y080L0/YAR41BW0> ATA/ATAPI rev 7present
    Slave: no device
    arc# atacontrol addspare ar0 ad4
    atacontrol: ioctl(ATARAIDADDSPARE): Device busy

    and as slave.

    arc# atacontrol attach 2
    Master: no device present
    Slave: ad5 <Maxtor 6Y080L0/YAR41BW0> ATA/ATAPI rev 7
    arc# atacontrol addspare ar0 ad5
    atacontrol: ioctl(ATARAIDADDSPARE): Device busy

    So... what the hell i've got to do to rebuild the array???
    Obviously when i reboot, HPT Bios ask for replacing failure drive, and
    ask for rebuild... blocking the machine for more than 40 minutes... and
    this is not acceptable for me.

    The hardware is a KD7 RAID with Highpoint 730 controller, Duron 1600.
    Two 80 Gb Maxtor 7200 Rpm 8 Mb.

    Any Idea?
        Thanks in advance.
    _______________________________________________
    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"


  • Next message: Gareth Bailey: "Reverse DNS - mail error"

    Relevant Pages

    • Problems with atacontrol and Hightpoint 730 raid Hardware. 5.2 release.
      ... I'm pretty sure it's my failure, but i can't understand what i miss. ... I've two devices ad4 and ad6 and a raid one ar0 as i expect. ... arc# atacontrol status ar0 ... atacontrol detach 2. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: How can I test a RAID?
      ... > Normally RAID comes with hot-plug functionality, ... status ar0 or in ... by trying to first detach the raid (atacontrol delete ar0), ... change the disk and do the reverse: atacontrol attach 3 and then atacontrol ...
      (comp.unix.bsd.freebsd.misc)
    • Intel Matrix RAID (ICH8R) rebuild?
      ... The bios shows status 'Rebuild' and 'Volumes with "Rebuild" status will be rebuilt within the operating system'. ... When I try to do 'atacontrol rebuild ar0': ... How to rebuild my RAID? ...
      (freebsd-stable)
    • atacontrol rebuild and iostat
      ... atacontrol status ar0 ... tin tout KB/t tps MB/s KB/t tps MB/s us ni sy in id ... Subject: atacontrol problems ...
      (freebsd-current)
    • Some questions about RAID 1/5/10 software (gmirror/gstripe/atacontrol) 5.x/6.x
      ... I didn't follow up any changes in RAID software env recently so I'm ... I know that 'atacontrol' allow RAID 0+1 but I'm looking for RAID ... Even if FreeBSD need feedback from public especially for testing new ...
      (comp.unix.bsd.freebsd.misc)