From owner-freebsd-geom@FreeBSD.ORG Thu Mar 26 06:30:07 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E00D106566B for ; Thu, 26 Mar 2009 06:30:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [195.88.108.3]) by mx1.freebsd.org (Postfix) with ESMTP id 36CDD8FC1A for ; Thu, 26 Mar 2009 06:30:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id D370041C647; Thu, 26 Mar 2009 07:30:05 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([195.88.108.3]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id 3g6yyl4tztqy; Thu, 26 Mar 2009 07:30:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 6B3D741C670; Thu, 26 Mar 2009 07:30:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id D07E54448E6; Thu, 26 Mar 2009 06:29:48 +0000 (UTC) Date: Thu, 26 Mar 2009 06:29:48 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Marcel Moolenaar In-Reply-To: Message-ID: <20090326062604.X67075@maildrop.int.zabbadoz.net> References: <20090325214318.Q67075@maildrop.int.zabbadoz.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1880230994-1238048988=:67075" Cc: freebsd-geom@freebsd.org Subject: Re: gpart on top of eli inside a slice is not working X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 06:30:07 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1880230994-1238048988=:67075 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 25 Mar 2009, Marcel Moolenaar wrote: > > On Mar 25, 2009, at 2:57 PM, Bjoern A. Zeeb wrote: > >> Here=B4s a script to reproduce this on head. > > First of all: exemplary problem reporting! > >> Any ideas? > > The probe method of the GPT scheme explicitly disallows nesting. > This is inconsistent with the create method, which happily allows > creating a GPT underneath a MBR. > > The bug is in the create method: GPT cannot be created inside a > MBR slice (or any other partioning for that matter). I'll fix > that shortly. Well technically it is created inside some random garbage from eli and not directly inside the MBR slice. So the only possible solutions for those would be: 1) Somehow convert the entire disk to part and then exposing the 3 freebsd-* partitions and have a dedicated eli inside each. 2) try (and stick with) bsdlabel on top of the eli inside the mbr slice? So can you explain why there is the restriction that part cannot be used inside a MBR slice or rather somewhere on top of such? /bz --=20 Bjoern A. Zeeb The greatest risk is not taking one. --0-1880230994-1238048988=:67075--