gjournal: what is it good for?

Jeremy Chadwick freebsd at jdc.parodius.com
Wed Apr 21 10:09:24 UTC 2010


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 at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-fs mailing list