From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 14 10:51:56 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9297B106566B for ; Fri, 14 Jan 2011 10:51:56 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 59A758FC18 for ; Fri, 14 Jan 2011 10:51:56 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 8A251D0C5B; Fri, 14 Jan 2011 11:51:54 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Stefan Bethke In-Reply-To: Date: Fri, 14 Jan 2011 11:51:49 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Daniel Braniss X-Mailer: Apple Mail (2.1082) Cc: freebsd-hackers@freebsd.org Subject: Re: more gpart/glabel problems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2011 10:51:56 -0000 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 Fon +49 151 14070811