gmirror and offset
Arne Wörner
arne_woerner at yahoo.com
Sat Jun 23 19:42:34 UTC 2007
--- Ferruccio Zamuner <nonsolosoft at 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/
More information about the freebsd-geom
mailing list