From owner-freebsd-geom@FreeBSD.ORG Mon Sep 3 05:02:39 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A9493106566B for ; Mon, 3 Sep 2012 05:02:39 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward5.mail.yandex.net (forward5.mail.yandex.net [IPv6:2a02:6b8:0:602::5]) by mx1.freebsd.org (Postfix) with ESMTP id 22BB28FC14 for ; Mon, 3 Sep 2012 05:02:39 +0000 (UTC) Received: from smtp3.mail.yandex.net (smtp3.mail.yandex.net [77.88.46.103]) by forward5.mail.yandex.net (Yandex) with ESMTP id C1EC0120080F; Mon, 3 Sep 2012 09:02:37 +0400 (MSK) Received: from smtp3.mail.yandex.net (localhost [127.0.0.1]) by smtp3.mail.yandex.net (Yandex) with ESMTP id 9F0B71BA050B; Mon, 3 Sep 2012 09:02:37 +0400 (MSK) Received: from mail.kirov.so-ups.ru (mail.kirov.so-ups.ru [178.74.170.1]) by smtp3.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 2btKR0Ws-2btuasbO; Mon, 3 Sep 2012 09:02:37 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1346648557; bh=kjFYiOqvzvltnhxick7YwHjO5dt9HsqAVDyqq4bvbFI=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:X-Enigmail-Version:Content-Type: Content-Transfer-Encoding; b=dGO0S6HwdqVHnHAl2RBLkHsUMdKlNBJUX9hwAP1QG+ERrvspEwcQ6IEuZgZBfdflp WOmuDmK5F9dDvZoNL371GZgX4QUhdmpmaj+cKA2IAv2TX0PggctuRXcHc4Zhwq6r+f HUqbdjq25m1M2QEthXgbowNW/V/WiHydtGrgsnec= Message-ID: <504439EC.5000004@yandex.ru> Date: Mon, 03 Sep 2012 09:02:36 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Nicola Tiling References: In-Reply-To: X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: GPT partitions missing, upgrading 7.4 to 8.3 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: Mon, 03 Sep 2012 05:02:39 -0000 On 02.09.2012 19:47, Nicola Tiling wrote: > Hi > > I'm trying to upgrade 7.4 to 8.3, but I fail. > > On a third slice I have nine gpt partitions. Originally they were created under 6.2 with "gpt". > The upgrade from 6.4 to 7.4 runs without problems, but now from 7.4 to 8.3 the partitions are not > found. I can't see them under /dev and gpart list shows curious things, a fifth slice in the > third and a EBR scheme instead of GPT. I have load the kernel modules geom_part_gtp, > geom_part_mbr, geom_part_bsd. Is there a save way to install 8.3 or is it dead-end? GEOM_PART_GPT cannot be nested. You should backup your data and recreate your partitions, then restore the data. The hackish way: you can remove GEOM_PART_MBR and GEOM_PART_EBR from your kernel config, and use GEOM_MBR instead. But you can still use GEOM_PART_GPT. In this case GEOM_PART_GPT will be attached to the GEOM_MBR provider and nesting will not be detected. -- WBR, Andrey V. Elsukov