From owner-freebsd-current@FreeBSD.ORG Thu Mar 19 16:30:47 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D51CE1065AC0 for ; Thu, 19 Mar 2009 16:30:47 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout021.mac.com (asmtpout021.mac.com [17.148.16.96]) by mx1.freebsd.org (Postfix) with ESMTP id BBC258FC08 for ; Thu, 19 Mar 2009 16:30:47 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed Received: from jwills-mbp.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp021.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KGR00BDBHUZBN70@asmtp021.mac.com> for freebsd-current@FreeBSD.org; Thu, 19 Mar 2009 09:30:36 -0700 (PDT) Message-id: <35C8AFC2-6D21-422D-8192-BA85D4B30BE3@mac.com> From: Marcel Moolenaar To: Ed Schouten In-reply-to: <20090319160612.GP31961@hoeg.nl> Date: Thu, 19 Mar 2009 09:30:34 -0700 References: <49C24A76.7000707@zedat.fu-berlin.de> <5F9E4F6E-E979-40DE-9DF7-41107A949819@mac.com> <20090319160612.GP31961@hoeg.nl> X-Mailer: Apple Mail (2.930.3) Cc: freebsd-current@FreeBSD.org, "O. Hartmann" Subject: Re: GEOM: ad10s1: geometry does not match label (255h, 63s != 16h, 63s). 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, 19 Mar 2009 16:30:53 -0000 On Mar 19, 2009, at 9:06 AM, Ed Schouten wrote: > * Marcel Moolenaar wrote: >> It means that the number of heads the disk reports it has is >> not the same as the number of heads that sysinstall put in >> the BSD disklabel. A mismatch for the number of heads is >> generally speaking harmless, but the discrepancy is there >> and it may be a problem in some cases. Hence the message. > > Is there a simple way to repair this? bsdlabel -e -A $dev Fix "tracks/cylinder" and recalculate "sectors/cylinder". Based on "sectors/unit" and "sectors/cylinder", adjust "cylinders" accordingly. You want to boot from an alternate media for this. I haven't decided how (if at all) this should be fixable with gpart. A "recreate" verb could do the trick... -- Marcel Moolenaar xcllnt@mac.com