more gpart/glabel problems
stb at lassitu.de
Fri Jan 14 10:51:56 UTC 2011
Am 14.01.2011 um 11:37 schrieb Daniel Braniss:
> 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 Bethke <stb at lassitu.de> Fon +49 151 14070811
More information about the freebsd-hackers