Date: Mon, 28 Sep 2009 10:51:57 -0700 From: Marcel Moolenaar <xcllnt@mac.com> To: Stephen Hurd <shurd@sasktel.net> Cc: marcel@FreeBSD.org, freebsd-geom@FreeBSD.org Subject: Re: kern/138891: [geom] GEOM_PART_* fails with sliced gstripe Message-ID: <CE412C88-02F5-478B-84FC-44894A95A31C@mac.com> In-Reply-To: <4AB9788B.2040003@sasktel.net> References: <200909172032.n8HKWEUG021155@freefall.freebsd.org> <4AB967E2.8010207@sasktel.net> <08EDE240-FE64-48D6-905C-8203FE6268EB@mac.com> <4AB9788B.2040003@sasktel.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CE412C88-02F5-478B-84FC-44894A95A31C>