Date: Thu, 22 May 2008 21:34:48 -0700 From: "Ted Mittelstaedt" <tedm@toybox.placo.com> To: "=?ISO-8859-2?Q?'Nejc_=A9koberne'?=" <nejc@skoberne.net>, "'User Questions'" <freebsd-questions@freebsd.org> Subject: RE: RAID 0+1 Message-ID: <200805230434.m4N4Yj84017564@mail.freebsd-corp-net-guide.com> In-Reply-To: <483533D9.5070504@skoberne.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <WDC WD2500YS-70SHB1 20.06C06> at ata0-master SATA150 > ad1: 238475MB <Seagate ST3250620NS 3BJP> at ata0-slave SATA150 > ad2: 238475MB <GB0250C8045 HPG1> at ata1-master SATA150 > GEOM_STRIPE: Device gs0 created (id=3D2160028923). > GEOM_STRIPE: Disk ad0s2 attached to gs0. > ad3: 238475MB <GB0250C8045 HPG1> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805230434.m4N4Yj84017564>