From owner-freebsd-fs@FreeBSD.ORG Wed Apr 21 10:09:24 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6A9D1065670 for ; Wed, 21 Apr 2010 10:09:24 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id 7F4FD8FC08 for ; Wed, 21 Apr 2010 10:09:23 +0000 (UTC) Received: from omta22.westchester.pa.mail.comcast.net ([76.96.62.73]) by qmta01.westchester.pa.mail.comcast.net with comcast id 89ht1e0071ap0As51A9QVm; Wed, 21 Apr 2010 10:09:24 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta22.westchester.pa.mail.comcast.net with comcast id 8ACi1e0033S48mS3iACjEW; Wed, 21 Apr 2010 10:12:43 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 1E06E9B419; Wed, 21 Apr 2010 03:09:22 -0700 (PDT) Date: Wed, 21 Apr 2010 03:09:22 -0700 From: Jeremy Chadwick To: Andrew Reilly Message-ID: <20100421100922.GA95130@icarus.home.lan> References: <20100418235428.GC4620@duncan.reilly.home> <20100420234447.GB1737@garage.freebsd.pl> <20100421011834.GA24928@duncan.reilly.home> <20100421024803.GA25701@duncan.reilly.home> <20100421085228.GA27892@duncan.reilly.home> <20100421095054.GA28619@duncan.reilly.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100421095054.GA28619@duncan.reilly.home> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-fs@freebsd.org Subject: Re: gjournal: what is it good for? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2010 10:09:24 -0000 On Wed, Apr 21, 2010 at 07:50:54PM +1000, Andrew Reilly wrote: > duncan [203]$ bsdlabel ad10s1.journal > # /dev/ad10s1.journal: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 1465146065 16 unused 0 0 > c: 1465146081 0 unused 0 0 # "raw" part, don't edit > partition a: partition extends past end of unit > partition c: partition extends past end of unit > bsdlabel: partition c doesn't cover the whole unit! > bsdlabel: An incorrect partition c may cause problems for standard system utilities > > Hmm. That's a bit surprising. I'm fairly certain that I didn't > label ad10s1.journal, but that disk has been used for other > things before, and the partition label is the the same (but > without the warnings): Ignore this error. This error also appears (probably on non-journalled slices) as "Disk geometry does not match label!" during boot. Your disks were bsdlabel'd before a GEOM change that changes the offset of slice "a". Case in point (a system which had its disks labelled *after* the above change): # bsdlabel ada0s1 # /dev/ada0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2097152 0 4.2BSD 0 0 0 b: 25165824 2097152 swap c: 78165297 0 unused 0 0 # "raw" part, don't edit d: 25165824 27262976 4.2BSD 0 0 0 e: 8388608 52428800 4.2BSD 0 0 0 f: 17347889 60817408 4.2BSD 0 0 0 -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |