From owner-freebsd-stable@FreeBSD.ORG Wed Jan 5 17:15:00 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 265C61065696 for ; Wed, 5 Jan 2011 17:15:00 +0000 (UTC) (envelope-from cliftonr@oz.volcano.org) Received: from oz.volcano.org (oz.volcano.org [64.65.105.124]) by mx1.freebsd.org (Postfix) with ESMTP id E98F28FC19 for ; Wed, 5 Jan 2011 17:14:59 +0000 (UTC) Received: by oz.volcano.org (Postfix, from userid 1001) id A7A085081F; Wed, 5 Jan 2011 07:14:58 -1000 (HST) Date: Wed, 5 Jan 2011 07:14:58 -1000 From: Clifton Royston To: Daniel Braniss Message-ID: <20110105171458.GA43278@lava.net> Mail-Followup-To: Daniel Braniss , freebsd-stable@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: gstripe/gpart problems. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2011 17:15:00 -0000 On Wed, Jan 05, 2011 at 11:36:59AM +0200, Daniel Braniss wrote: > Hi Clifton, > I was getting very frustrated yesterday, hence the cripted message, your > response requieres some background :-) > the box is a Sun Fire X2200, which has bays for 2 disks, (we have several of > these) > before the latest upgrade, the 2 disks were 'raided' via 'nVidia MediaShield' > and > appeared as ar0, when I upgraded to 8.2, it disappeared, since I had in the > kernel config file > ATA_CAM. So I starded fiddling with gstripe, which 'recoverd' the data. > Next, since the kernel boot kept complaining abouf GEOM errors, (and not > wanting to > mislead the operators) I cleaned up the data, and started from scratch. > the machine boots diskless, but I like to keep a root bootable partition just > in case. > the process was in every case the same, first the stripe, then gpart the > stripe. Thanks, that makes it very clear why things are as they are. Good to know that the booting issues are covered via diskless boot. I had never thought about being able to recover a RAID stripe using gstripe. That's a very interesting capability! Assuming that FreeBSD considers partitioning a stripe to be valid in principle - and you give reasons it should - then there may be a geom/driver interaction bug to investigate here if the geom layer is refusing to write a stripe-oriented partition to the raw drive. -- Clifton -- Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@lava.net President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services