From owner-freebsd-geom@FreeBSD.ORG Wed Oct 22 17:28:38 2008 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 C951F1065680; Wed, 22 Oct 2008 17:28:38 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout017.mac.com (asmtpout017.mac.com [17.148.16.92]) by mx1.freebsd.org (Postfix) with ESMTP id B5B698FC1D; Wed, 22 Oct 2008 17:28:38 +0000 (UTC) (envelope-from xcllnt@mac.com) 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 asmtp017.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K9500I7EHV3NL90@asmtp017.mac.com>; Wed, 22 Oct 2008 10:28:16 -0700 (PDT) Message-id: <63F8346D-0116-4F41-BCAA-C235E9657BD8@mac.com> From: Marcel Moolenaar To: Andriy Gapon In-reply-to: <48FF2607.10807@icyb.net.ua> Date: Wed, 22 Oct 2008 10:28:15 -0700 References: <48FF2607.10807@icyb.net.ua> X-Mailer: Apple Mail (2.929.2) Cc: Marcel Moolenaar , freebsd-geom@freebsd.org Subject: Re: gpart oddity 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: Wed, 22 Oct 2008 17:28:38 -0000 On Oct 22, 2008, at 6:09 AM, Andriy Gapon wrote: > > I have the following geom options in my kernel config: > GEOM_LABEL > GEOM_PART_BSD > GEOM_PART_GPT > GEOM_PART_MBR > > The last three are recent addition that I want to report about. > > Also, geom_mirror and geom_journal are loaded as modules and I use > both > gmirror and gjournal, independently. > > This is a i386 7.1-PRERELEASE system, kernel is built from svn rev. > 184137. > Here's a diff between new kernel verbose dmesg and old kernel verbose > dmesg (only geom specific lines, old kernel was built from sources > from > around Sep 24): > > -GEOM: new disk ad4 > +GEOM: ad4s1: invalid disklabel. Your BSD disklabel is considered invalid. I've seen reports where the recorded number of sectors is larger than the media size. > +GEOM: ad4s1b: invalid disklabel. > +GEOM: ad4s1c: invalid disklabel. This is a problem with your configuration. You have not disabled GEOM_BSD (nor GEOM_MBR) by adding "nooption GEOM_BSD" (and "nooption GEOM_MBR"). For now it's best to keep it, because the old BSD slicer does not check your disklabel and accepts it. Can you send me the output of dd for ad4s1, like: dd if=/dev/ad0s1 of=/tmp/dump count=16 As well as the output of sysctl kern.geom.conftxt. That allows me see in what way your BSD disklabel is invalid. Thanks, -- Marcel Moolenaar xcllnt@mac.com