Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2007 20:35:26 +0200
From:      Ferruccio Zamuner <nonsolosoft@diff.org>
To:        freebsd-geom@freebsd.org
Cc:        Ferruccio Zamuner <nonsolosoft@diff.org>
Subject:   Re: gmirror and offset
Message-ID:  <467D67EE.5090507@diff.org>
In-Reply-To: <467D2665.4030903@diff.org>
References:  <467D2665.4030903@diff.org>

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



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