Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2010 03:09:22 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Andrew Reilly <areilly@bigpond.net.au>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: gjournal: what is it good for?
Message-ID:  <20100421100922.GA95130@icarus.home.lan>
In-Reply-To: <20100421095054.GA28619@duncan.reilly.home>
References:  <20100418235428.GC4620@duncan.reilly.home> <20100420234447.GB1737@garage.freebsd.pl> <20100421011834.GA24928@duncan.reilly.home> <k2q4d7dd86f1004201920s2139647aja783e86e266153ca@mail.gmail.com> <20100421024803.GA25701@duncan.reilly.home> <r2q4d7dd86f1004210105o1ab574b7g350822e9bed99b82@mail.gmail.com> <20100421085228.GA27892@duncan.reilly.home> <g2u4d7dd86f1004210216wa8dc9ed1i44776068add4c530@mail.gmail.com> <20100421095054.GA28619@duncan.reilly.home>

next in thread | previous in thread | raw e-mail | index | archive | help
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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100421100922.GA95130>