Date: Thu, 19 Mar 2009 09:30:34 -0700 From: Marcel Moolenaar <xcllnt@mac.com> To: Ed Schouten <ed@80386.nl> Cc: freebsd-current@FreeBSD.org, "O. Hartmann" <ohartman@zedat.fu-berlin.de> Subject: Re: GEOM: ad10s1: geometry does not match label (255h, 63s != 16h, 63s). Message-ID: <35C8AFC2-6D21-422D-8192-BA85D4B30BE3@mac.com> In-Reply-To: <20090319160612.GP31961@hoeg.nl> References: <49C24A76.7000707@zedat.fu-berlin.de> <5F9E4F6E-E979-40DE-9DF7-41107A949819@mac.com> <20090319160612.GP31961@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 19, 2009, at 9:06 AM, Ed Schouten wrote: > * Marcel Moolenaar <xcllnt@mac.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35C8AFC2-6D21-422D-8192-BA85D4B30BE3>