From owner-freebsd-questions@FreeBSD.ORG Thu Mar 11 03:42:38 2004 Return-Path: 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 6829416A4CE for ; Thu, 11 Mar 2004 03:42:38 -0800 (PST) Received: from mid-1.inet.it (mid-1.inet.it [213.92.5.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 219CC43D4C for ; Thu, 11 Mar 2004 03:42:37 -0800 (PST) (envelope-from warfox@neobe.it) Received: from 194-185-205-142.f5.ngi.it [::ffff:194.185.205.142] by mid-1.inet.it via I-SMTP-5.0.6-506 id ::ffff:194.185.205.142+62WEbw5Gk; Thu, 11 Mar 2004 12:42:35 +0100 Message-ID: <405051A9.1000703@neobe.it> Date: Thu, 11 Mar 2004 12:46:49 +0100 From: "Alberto (WarfoX) De Boni" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031030 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Problems with atacontrol and Hightpoint 730 raid Hardware. 5.2 release. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 11:42:38 -0000 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 ATA/ATAPI rev 7 Slave: no device present ATA channel 3: Master: ad6 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 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 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 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.