From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 15:34:34 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 AB5DF106567C for ; Thu, 26 Jun 2008 15:34:34 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.189]) by mx1.freebsd.org (Postfix) with ESMTP id 26C8A8FC0A for ; Thu, 26 Jun 2008 15:34:33 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by gv-out-0910.google.com with SMTP id n8so17690gve.39 for ; Thu, 26 Jun 2008 08:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer; bh=hV0tD9WMIQUsD8pEo9lnYL9Puk8n1ORqR3TQ3LAuVaU=; b=ppsMl/J1mW64ZfZE6pPykC0lZHMdJMFDNr5IvaM6uGX2HhNWjziQZDPh0cx6Oo5aDK Y3kw0uAE/aplSXNx4pedClkG5e9OgNlhWlg5opmCv0b/QMwhFHKchoWcKx0Dz6SwVvHn Flvf9SyligzmrlJe9J5tQUY+bSvuuIz+yrdwI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer; b=OFseQ/mbNECtYGXgfrO6bz/U9ws+i1K08pFODf0dmdnsO4JLC/2a1cHOADxVzqmjgc BtunHEOlWmQ2EgcaKRlGuuE1bS/p6Mq9YWawCnQazK7A6pjdEOnAF5Y1AVHQMUhKjpGU 8YVLnYl+fEeCFrcLBxnXLte6Tx3G5dV08ITqs= Received: by 10.210.30.10 with SMTP id d10mr3041259ebd.150.1214492968059; Thu, 26 Jun 2008 08:09:28 -0700 (PDT) Received: from ?127.0.0.1? ( [217.206.187.80]) by mx.google.com with ESMTPS id j8sm156317gvb.1.2008.06.26.08.09.25 (version=SSLv3 cipher=RC4-MD5); Thu, 26 Jun 2008 08:09:26 -0700 (PDT) From: Tom Evans To: Garrett Cooper In-Reply-To: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-KnnqhPdOK9fUgrX+E6Mz" Date: Thu, 26 Jun 2008 16:09:23 +0100 Message-Id: <1214492963.35536.22.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port 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: Thu, 26 Jun 2008 15:34:34 -0000 --=-KnnqhPdOK9fUgrX+E6Mz Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-06-26 at 06:49 -0700, Garrett Cooper wrote: > Hello, > First off sorry for the cross-post. I typically don't do this > but this is an important question, so please bear with me. I'm just > trying to get more eyes on the subject so I can (maybe) get a reply > quicker... > I'm running 8-CURRENT on my machine and it appears that one of > the disks in my RAID5 array has taken a nose dive (BIOS recognizes > that it exists, but Intel Matrix Manager claims that the disk is an > "Offline Member"). After doing some reading it appears that it's > kaput, so I need to get a replacement disk to fix this one... > That aside, I need to determine how to rebuild the array in a > Unix environment because Intel only provides instructions for how to > use their Windows matrix manager. If anyone can point me to some links > or provide me with some pointers on how to correct this issue, I'd owe > you a lot; in fact the next time you come by Santa Cruz, CA I'll > gladly treat you to some beers or something else you might want :)... > Linux solutions (if there isn't a proper one for FreeBSD) are valid, > as long as the core data remains uncorrupted and I can do what I need > to from a LiveCD. I'm just scared to boot up OS and have it do some > irrevocable operation like fsck -y and assume parity errors are ok or > something along those lines (I don't remember if I set rc.conf to > fsck -y and I know I can change that from single-user mode, but I want > to play things conservatively if at all possible) :\... > Filesystem is UFS2 with softupdates of course. > Point proven that I need to backup my data more often :(... > TIA, > -Garrett >=20 > PS If replying on the questions@ list, please CC me as I'm not > subscribed to that list. I'm fairly sure that Intel Matrix metadata cant be created/modified by fbsd, only read. You should be able to do whatever rebuild operations you need in the BIOS I believe, but that would be an offline operation, clearly. I may be mistaken, and the driver can handle array rebuilds for matrix. If it can, the command you are looking for is 'atacontrol rebuild ar0', see atacontrol(8). Tom --=-KnnqhPdOK9fUgrX+E6Mz Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkhjsR4ACgkQlcRvFfyds/d4lACeLPWCwoyIZHBKkcQhtMYbW8o/ lBUAnROU6oAK3x/2uQrGQ2gLpeqwYoqe =8/TM -----END PGP SIGNATURE----- --=-KnnqhPdOK9fUgrX+E6Mz--