From owner-freebsd-questions@FreeBSD.ORG Fri May 23 04:34:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6E611065671 for ; Fri, 23 May 2008 04:34:48 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 826168FC1B for ; Fri, 23 May 2008 04:34:48 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from tedtosh (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with ESMTP id m4N4Yj84017564; Thu, 22 May 2008 21:34:46 -0700 (PDT) (envelope-from tedm@toybox.placo.com) Message-Id: <200805230434.m4N4Yj84017564@mail.freebsd-corp-net-guide.com> From: "Ted Mittelstaedt" To: "=?ISO-8859-2?Q?'Nejc_=A9koberne'?=" , "'User Questions'" Date: Thu, 22 May 2008 21:34:48 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-2" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 In-Reply-To: <483533D9.5070504@skoberne.net> Thread-Index: Aci76ktKUl4QIZrmT2ye4JdCTnwSSQAo+qog X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Thu, 22 May 2008 21:34:47 -0700 (PDT) Cc: Subject: RE: RAID 0+1 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: Fri, 23 May 2008 04:34:48 -0000 don't use gmirror and atacontrol at the same time. Use one or the = other. Ted=20 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org=20 > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of=20 > Nejc =A9koberne > Sent: Thursday, May 22, 2008 1:51 AM > To: User Questions > Subject: RAID 0+1 >=20 > Hello, >=20 > I have FreeBSD 7.0 and 4 250GB SATA disks and I would like to=20 > make one big 500GB > 0+1 RAID array. My hardware is HP ProLiant ML110G5. >=20 > First I tried creating ATA RAID arrays with BIOS tools, but=20 > FreeBSD wouldn't recognize the arrays. >=20 > Than I decided to create the RAID-0 arrays with atacontrol. I=20 > succeeded, ending up with ar0 and ar1 each 500GB big. My plan=20 > was to install the FreeBSD as usual on ar0 and then add both=20 > into a gmirror array. However, I BootMgr seem not to be able=20 > to boot from RAID-0 array created with atacontrol? Is this=20 > correct? I guess this is because BootMgr knows nothing about=20 > striping and cannot read the kernel. >=20 > Finally I tried to create two slices on each drive. The plan=20 > was to join the first slice of all 4 drives into a gmirror=20 > array and mount it as / partition (I guess BootMgr would boot=20 > normally from such an array). Then I would merge the second=20 > slice of all 4 drives into a 0+1 array (first gstriping and=20 > then gmirroring them). I somehow succeeded this, but I also=20 > get a WARNING when booting the system: >=20 > ad0: 238475MB at ata0-master SATA150 > ad1: 238475MB at ata0-slave SATA150 > ad2: 238475MB at ata1-master SATA150 > GEOM_STRIPE: Device gs0 created (id=3D2160028923). > GEOM_STRIPE: Disk ad0s2 attached to gs0. > ad3: 238475MB at ata1-slave SATA150 > GEOM_STRIPE: Disk ad1s2 attached to gs0. > GEOM_STRIPE: Device gs0 activated. > GEOM_STRIPE: Device gs1 created (id=3D3269017453). > GEOM_STRIPE: Disk ad2s2 attached to gs1. > GEOM_MIRROR: Device mirror/gm0 launched (4/4). > GEOM_STRIPE: Disk ad3s2 attached to gs1. > GEOM_STRIPE: Device gs1 activated. > WARNING: Expected rawoffset 0, found 63 > GEOM_MIRROR: Device mirror/gm1 launched (1/2). > GEOM_MIRROR: Device gm1: rebuilding provider stripe/gs1. >=20 > Is this critical? It looks like the system is fine, though. >=20 > Is there any "more proper" way to build such a system with RAID 0+1? >=20 > Thanks, > Nejc >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list=20 > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to=20 > "freebsd-questions-unsubscribe@freebsd.org" >=20