Date: Sat, 23 Jun 2007 12:42:33 -0700 (PDT) From: Arne "Wörner" <arne_woerner@yahoo.com> To: Ferruccio Zamuner <nonsolosoft@diff.org>, freebsd-geom@freebsd.org Subject: Re: gmirror and offset Message-ID: <459558.12877.qm@web30312.mail.mud.yahoo.com> In-Reply-To: <467D2665.4030903@diff.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Ferruccio Zamuner <nonsolosoft@diff.org> wrote:
> The data for partition 1 is:
> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> start 63, size 167766732 (81917 Meg), flag 80 (active)
> beg: cyl 0/ head 1/ sector 1;
> end: cyl 1023/ head 254/ sector 63
> r1# gmirror label -h -v -b split -s 4096 gm0 ad6s1
>
gmirror uses the last sector of ad6s1 for meta data...
See: diskinfo /dev/mirror/gm0
> r1# bsdlabel /dev/mirror/gm0
> # /dev/mirror/gm0:
> 8 partitions:
> # size offset fstype [fsize bsize bps/cpg]
> c: 167766732 63 unused 0 0 # "raw" part, don't
> edit
> partition c: partition extends past end of unit
> bsdlabel: partition c doesn't start at 0!
> bsdlabel: partition c doesn't cover the whole unit!
> bsdlabel: An incorrect partition c may cause problems for standard system
> utilities
>
> What have I done wrong?
>
c: is only 167766731 in size... and the offset must be 0 then...
The other problems r solved the same way...
-Arne
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?459558.12877.qm>
