From owner-freebsd-questions@FreeBSD.ORG Wed Nov 22 23:00:07 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 798B916A412 for ; Wed, 22 Nov 2006 23:00:07 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from smtp-out.neti.ee (smtp-out.neti.ee [194.126.126.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA13343D5A for ; Wed, 22 Nov 2006 22:59:28 +0000 (GMT) (envelope-from toomas.aas@raad.tartu.ee) Received: from localhost (localhost [127.0.0.1]) by MXR-4.estpak.ee (Postfix) with ESMTP id 238B417154B for ; Thu, 23 Nov 2006 00:59:59 +0200 (EET) X-Virus-Scanned: by amavisd-new-2.4.3 (20060930) (Debian) at neti.ee Received: from smtp-out.neti.ee ([127.0.0.1]) by localhost (MXR-2.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iit5DI9Gj8sn for ; Thu, 23 Nov 2006 00:59:52 +0200 (EET) Received: from Relayhost2.neti.ee (Relayhost2 [192.168.1.102]) by MXR-4.estpak.ee (Postfix) with ESMTP id B161C171893 for ; Thu, 23 Nov 2006 00:59:52 +0200 (EET) Message-ID: <4564D667.4000507@raad.tartu.ee> Date: Thu, 23 Nov 2006 00:59:51 +0200 From: Toomas Aas User-Agent: Thunderbird 1.5.0.7 (X11/20060918) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: ICH7 SATA RAID (LSI MegaRAID) 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: Wed, 22 Nov 2006 23:00:07 -0000 Hello! I've bought a small server with Intel SE7230NH1 motherboard, which incorporates the ICH7 SATA RAID controller. Using the LSI BIOS utility, I created a RAID1 array of two disks and installed FreeBSD 6.2-RC1 (amd64) on it. atapci1: port 0x30c8-0x30cf,0x30e4-0x30e7,0x30c0-0x30c7,0x30e0-0x30e3,0x30a0-0x30af mem 0x88200000-0x882003ff irq 19 at device 31.2 on pci0 atapci1: AHCI Version 01.10 controller with 4 ports detected ata2: on atapci1 ata3: on atapci1 ata4: on atapci1 ata5: on atapci1 ad4: 476940MB at ata2-master SATA300 ad6: 476940MB at ata3-master SATA300 ar0: 476772MB status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master This server has a hot-swap drive cage that allows you to power off individual drives. I simulated a drive failure by powering off one of the drives. This resulted in console message: ar0: warning: mirror protection lost. RAID1 array in DEGRADED mode. ar0: writing of LSILogic v3 MegaRAID metadata is NOT supported yet. subdisk6: detached ad6: detached OK, the disk went away. This is witnessed by atacontrol: # atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 DOWN status DEGRADED Now, I power the disk on again. This brings on the following console message. ad6: 476940MB at ata3-master SATA300 The array status is still degraded, as shown by atacontrol: #atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: DEGRADED OK, so I think I need to rebuild the array, but this doesn't succeed: #atacontrol rebuild ar0 IOCATARAIDREBUILD: Input/Output error. When I reboot the server, it comes back up with the array at READY status immediately. Maybe this is because I have "Auto rebuild" set to "Yes" in BIOS. But is there any way to recover from this kind of failure without rebooting? Are my problems caused merely by the fact that "writing of LSILogic v3 MegaRAID metadata is NOT supported yet", or am I doing something wrong? Or maybe this is the problem that exists only in amd64 version and not in i386? Thanks in advance, -- Toomas