Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2011 11:51:49 +0100
From:      Stefan Bethke <stb@lassitu.de>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: more gpart/glabel problems
Message-ID:  <DB643CBC-2227-428A-A7E4-6E71FB3E67CF@lassitu.de>
In-Reply-To: <E1Pdh1r-000MPA-G3@kabab.cs.huji.ac.il>
References:  <E1Pdh1r-000MPA-G3@kabab.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help

Am 14.01.2011 um 11:37 schrieb Daniel Braniss:

> now:
> 	glabel lable r0 mfid0

> so what am I doing wrong?

glabel uses the last sector of the device to store the label. GPT keeps =
it's backup table there.

Additionally, GEOM then tastes the glabel device, and the size of the =
glabel device (label/r0) does not agree with the GPT table, since it's =
one sector smaller than the device that you created the GPT table on.

Are you trying to label the entire array, or individual partitions?

If you want to label the entire device, do that first, and then create =
the GPT table on the label device.  If you want to label individual =
partitions, then use the gpart label options, or newfs options.


Stefan

--=20
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB643CBC-2227-428A-A7E4-6E71FB3E67CF>