From owner-freebsd-questions@FreeBSD.ORG Tue Jan 30 21:43:25 2007 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 CB65D16A401 for ; Tue, 30 Jan 2007 21:43:25 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from smtp-out.neti.ee (mail.neti.ee [194.126.101.114]) by mx1.freebsd.org (Postfix) with ESMTP id 5899A13C48E for ; Tue, 30 Jan 2007 21:43:24 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from smtp-out.neti.ee (unknown [88.196.174.136]) by HOT-Bounce1.estpak.ee (Postfix) with ESMTP id CD9E94E9DB7 for ; Tue, 30 Jan 2007 23:20:35 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by MXR-5.estpak.ee (Postfix) with ESMTP id 9AB971BCA8E for ; Tue, 30 Jan 2007 23:20:36 +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 s0MPSxUNIABJ for ; Tue, 30 Jan 2007 23:20:34 +0200 (EET) Received: from Relayhost1.neti.ee (Relayhost1 [88.196.174.141]) by MXR-5.estpak.ee (Postfix) with ESMTP id 4BC541BCA94 for ; Tue, 30 Jan 2007 23:20:34 +0200 (EET) Received: from [88.196.103.119] (88-196-103-119-dsl.trt.estpak.ee [88.196.103.119]) by Relayhost1.neti.ee (Postfix) with ESMTP id 5228A1D6DF5 for ; Tue, 30 Jan 2007 23:20:34 +0200 (EET) Message-ID: <45BFB6A1.9080200@raad.tartu.ee> Date: Tue, 30 Jan 2007 23:20:33 +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: Converting from ata-raid to gmirror 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: Tue, 30 Jan 2007 21:43:25 -0000 Hello! I'm currently running FreeBSD 6.2-RELEASE (amd64) on a system based on Intel SE7230NH1-E motherboard, which has Intel ICH7R integrated softraid. The machine has two 500 GB drives which are configured as RAID1 in BIOS. Unfortunately, this setup seems to have some stability issues which I can't figure out how to solve. Specifically, when the storage subsystem is put under heavy load (such as doing nightly backups) the kernel starts spitting out horrible error messages such as: FAILURE - out of memory in ata_raid_init_request g_vfs_done():ar0s1f[WRITE(offset=8091172864, length=16384)]error = 5 FAIg_vfs_done():ar0LURE - out of memsory in ata_raid_1init_reqfu[eWsRItTE(o ffset=8091F1A8I9LU2R4E8 ,- oleuntg tohf= 16m3e8m4o)ry]e rirno ra t=a 5 _raid_init_requestg vfs_done():ar0s1f[WRITE(offsFAeItL=UR8E0 9-1 2o05u6t3 2o,f lmeengmtoh=ry1 6i3n8 4a)t]ae_rrraoird _=in i5t If it looks like garbage, then yes, this is how it appears in /var/log/messages. I'm seriously afraid that similar corruption is sneaking into important user files. Only thing I can think of is converting this setup from BIOS-based RAID to gmirror. This would involve, I think, modifying /etc/fstab so that it references ad4 instead of ar0, then permanently breaking the mirror in BIOS, booting up the system with single disk and then basically following the gmirror chapter in the handbook. Correct? I'm also a little uncertain about "permanently breaking the mirror" part. I've read all the motherboard and LSI docs I can find and this topic isn't covered anywhere. Some googling seems to hint that it can be done, but nothing too definitive. If anyone happens to have the exact configuration menu map for Intel Matrix RAID (LSI Megaraid V3) as it appears on SE7230NH1-E motherboard, it would be appreciated. Or if anyone can suggest what to do to fix the system without converting to gmirror, then that, of course, would also be appreciated. -- Toomas