From owner-freebsd-current@FreeBSD.ORG Sat Jun 28 21:10:31 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36D151065680 for ; Sat, 28 Jun 2008 21:10:31 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id AED9F8FC12 for ; Sat, 28 Jun 2008 21:10:30 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so597265fgb.35 for ; Sat, 28 Jun 2008 14:10:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=PL3qbsCnaeCV7H3U0TAt68Jmt4z3ESOzCRSTQ/MgNJE=; b=IKyYAe2E+0ALJ/9I/dRZzil0ab4zRk2c655JkAm72+z1v7igI6pbhadNlwS3fTS/D+ QfD4FGS940qUZpCGIC+qGZAdbxRkzj6v5Dl8tUJ0G+5jqKyb4B02uosmQK1RL2CUUPca MDMTh+IXd6HFBo53fWbEwl6TuwTaOFN4wpxhY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=boO+k7Ur2XtUHOtdsnh6+tDyJ8PJm2JfTM/5zsxpgT6N7wkcJzz/uBAJL/AKxXQGrv GMrn7djRf5fdHVniprcjof3lsvXXKCBiTv9+93RN7lh228BSBTa5BJWdWuWdLGziyhZf sZLwHmFarXQGpZKsTZPDuzFX69nQWCWPagT2g= Received: by 10.86.84.5 with SMTP id h5mr3980384fgb.58.1214687429246; Sat, 28 Jun 2008 14:10:29 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Sat, 28 Jun 2008 14:10:29 -0700 (PDT) Message-ID: <7d6fde3d0806281410r781a6a77k98ffe237c10e3eee@mail.gmail.com> Date: Sat, 28 Jun 2008 14:10:29 -0700 From: "Garrett Cooper" To: "Derek Ragona" , "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" , ed@80386.nl In-Reply-To: <6.0.0.22.2.20080628132240.0255ba38@mail.computinginnovations.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <4863B968.4040805@clearchain.com> <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> <6.0.0.22.2.20080627170323.02591528@mail.computinginnovations.com> <7d6fde3d0806272057p795277a2ie60ac7d7d10f0a6e@mail.gmail.com> <7d6fde3d0806280129i31874960ofbc7627598e1426f@mail.gmail.com> <735A937C-89A9-411A-AA3F-377F576E635E@freebsd.org> <7d6fde3d0806280348r65875755pf7dc3917bba2bcb5@mail.gmail.com> <7d6fde3d0806280349j7eace513idb5cd81f9e2e4e0a@mail.gmail.com> <6.0.0.22.2.20080628132240.0255ba38@mail.computinginnovations.com> Cc: current@freebsd.org Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 21:10:31 -0000 On Sat, Jun 28, 2008 at 11:30 AM, Derek Ragona wrote: > At 05:49 AM 6/28/2008, you wrote: > > On Sat, Jun 28, 2008 at 2:02 AM, S=F8ren Schmidt wrote: >> >> Erm, this makes no sense at all. You state you use the "iir" driver for >> the >> card, yet you expect to see the devices under ATA ? Those are two very >> different animals, you can't use them together in away way or fashion on >> the >> same drives. >> >> That asks the question: which one is it ? >> >> If you use "iir" I have no idea how/if a rebuild is possible under >> FreeBSD, >> however it could be in the BIOS or with any other OS that supports it >> (here >> the HW should have kept your parity data intact). >> >> If you use ATA you shouldn't have used RAID5 as the docs tell you, as >> there >> will be no parity data to rebuild from no matter what BIOS/OS you use -> >> you >> will get garbage no matter what. > > Uhm... ok, I'll bite. What documentation states how to use RAID's > under FreeBSD properly? The GEOM docs didn't seem to be what I was > looking for back then. > >>> Thanks for the help and support. This definitely served as a lesson to >>> backup my data more often... >> >> That by itself may be worth all the trouble :) > > No doubt. > > Thanks :), > -Garrett > > You can either use the built in RAID software in FreeBSD or use the hardw= are > makers RAID outside FreeBSD. > > If you use the internal FreeBSD for a software RAID, most recommend you u= se > the RAID for non-boot, using a separate disk to boot from. Basically usi= ng > a smaller drive for / so the system is bootable and configurable with or > without RAID. Then add your RAID after installing FreeBSD. > > If you choose to just setup a RAID array in the hardware, then usually > FreeBSD just see this volume as one large single drive you can partition = and > use like one huge virtual disk. In the case of errors or failures you ne= ed > to check the console logs when the system boots. I wouldn't recommend th= is > method UNLESS you do RAID 10 with hot spare drives. So any drive failure= s > are rebuilt for you, so errors on reboots will still need to be checked, = but > just to see if a drive needs to be replaced. > > Depending on the systems use, you may find it easier to use one of the > "packaged" solutions based on FreeBSD, such as: > www.freenas.org > or > http://m0n0.ch/wall/ Thanks for the comments Derek, Soren, and Ed. FWIW (I've discovered this through personal experience and reading a lot of docs), the only way to get "hardware RAID" with iir and the ICH9R chipset is through the Matrix Manager (either by creating one at the BIOS level console or Windows -- bleh). FreeBSD spotted it as a single drive (/dev/ar0), so at that point it was being managed by the southbridge. Performance sucks, the array rebuild takes eons (16 hours for adding a 1TB drive to an existing 4 x 750GB drive array with an Core 2 E6700 with 2GB RAM under Vista x64) and the rebuild console is _only_ available under Windows =3D(. At least it's keeping the filesystem intact though, long enough for me to make a redundant copy of the data then move all this junk over to another safe place while I grab DVD+R/W's and wait for my 3ware card to come in the mail.. Thanks, -Garrett