gmirror and offset

Ferruccio Zamuner nonsolosoft at diff.org
Sat Jun 23 18:34:59 UTC 2007


Ferruccio Zamuner wrote:
> I've tried to edit bsdlabel:
>
> r1# bsdlabel -e /dev/mirror/gm0
>
> -----
> # /dev/mirror/gm0:
> 8 partitions:
> #        size   offset    fstype   [fsize bsize bps/cpg]
>  a:  2097152        0    4.2BSD        0     0     0
>  c: 167766732        0    unused        0     0         # "raw" part, 
> don't edit
>  e: 12582912  2097152    4.2BSD        0     0     0
>  f: 20971520 14680064    4.2BSD        0     0     0
>  g: 14680064 35651584    4.2BSD        0     0     0
>  h: 117435084 50331648    4.2BSD        0     0     0
> -----
>
> BUT bsdlabel writes:
>
> -----
> 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
> partition h: partition extends past end of unit
> re-edit the label? [y]: -----
>
modified in:
-----
# /dev/mirror/gm0:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  2097152        0    4.2BSD     2048 16384 28552
  c: 167766731        0    unused        0     0         # "raw" part, 
don't edit
  e: 12582912  2097152    4.2BSD     2048 16384 28552
  f: 20971520 14680064    4.2BSD     2048 16384 28552
  g: 14680064 35651584    4.2BSD     2048 16384 28488
  h: 117435083 50331648    4.2BSD     2048 16384 28552
-----

It seems right now.


Thank you,                  \fer


More information about the freebsd-geom mailing list