From owner-freebsd-geom@FreeBSD.ORG Mon Sep 28 17:52:00 2009 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 140AC106566B; Mon, 28 Sep 2009 17:52:00 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id F37208FC08; Mon, 28 Sep 2009 17:51:59 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii; format=flowed; delsp=yes Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KQP00K4Z0AMN000@asmtp029.mac.com>; Mon, 28 Sep 2009 10:51:59 -0700 (PDT) From: Marcel Moolenaar In-reply-to: <4AB9788B.2040003@sasktel.net> Date: Mon, 28 Sep 2009 10:51:57 -0700 Message-id: References: <200909172032.n8HKWEUG021155@freefall.freebsd.org> <4AB967E2.8010207@sasktel.net> <08EDE240-FE64-48D6-905C-8203FE6268EB@mac.com> <4AB9788B.2040003@sasktel.net> To: Stephen Hurd X-Mailer: Apple Mail (2.1076) Cc: marcel@FreeBSD.org, freebsd-geom@FreeBSD.org Subject: Re: kern/138891: [geom] GEOM_PART_* fails with sliced gstripe X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 17:52:00 -0000 On Sep 22, 2009, at 6:23 PM, Stephen Hurd wrote: > Marcel Moolenaar wrote: >>> After wiping out the second sector or the drive (dd seek=1 count=1 >>> if=/dev/zero of=/dev/stripe/raid0) >>> fdisk now reports "invalid fdisk partition table found" but >>> GEOM_PART_* still does not locate the a slice and the b/d slices >>> will not mount. >> >> What is the sector size? > > 512 according to diskinfo and gstripe list: Ok, so nothing weird. What I do see is that you created a RAID within MBR slices, so you can't have a MBR on top of the RAID. In other words, it's invalid to do: fdisk /dev/stripe/raid0 The correct location for the BSD disklabel would be sector 2 of the RAID. Can you dump sector 64 & 65 of raid0? (i.e. dd if=/dev/stripe/raid0 of=/tmp/raid0-64.dmp iseek=63 bs=512 count=2) -- Marcel Moolenaar xcllnt@mac.com