From owner-freebsd-stable@FreeBSD.ORG Sat Dec 14 21:20:37 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C09F29A6 for ; Sat, 14 Dec 2013 21:20:37 +0000 (UTC) Received: from mail.egr.msu.edu (dauterive.egr.msu.edu [35.9.37.168]) by mx1.freebsd.org (Postfix) with ESMTP id 9475D1F37 for ; Sat, 14 Dec 2013 21:20:37 +0000 (UTC) Received: from dauterive (localhost [127.0.0.1]) by mail.egr.msu.edu (Postfix) with ESMTP id 3806D42531 for ; Sat, 14 Dec 2013 16:20:31 -0500 (EST) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mail.egr.msu.edu ([127.0.0.1]) by dauterive (dauterive.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9H0bzY2_1bFY for ; Sat, 14 Dec 2013 16:20:31 -0500 (EST) Received: from EGR authenticated sender Message-ID: <52ACCB9E.3010304@egr.msu.edu> Date: Sat, 14 Dec 2013 16:20:30 -0500 From: Adam McDougall User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: From 10 Beta4 to 10 RC1 lost gpt labels added by the installer References: <52AACB86.8090703@gmail.com> <52AB2FC1.5000605@gmail.com> In-Reply-To: <52AB2FC1.5000605@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Dec 2013 21:20:37 -0000 On 12/13/2013 11:03, Johan Hendriks wrote: > Teske, Devin schreef: >> On Dec 13, 2013, at 12:55 AM, Johan Hendriks wrote: >> >>> Hello all. >>> >>> I installed FreeBSD 10 Beta4 the day before the RC1 release and used >>> the ZFS install option, all went well. >>> I then downloaded the new source for 10 RC1 and did a buildworld. >>> It rebooted, the machine booted fine only did it show an error >>> regarding the swap space. >>> I could not mount /dev/gpt/swap0 and /dev/gpt/swap1 >>> >>> /dev/diskid/DISK...... and so on. >>> >>> /dev/gpt was not there anymore. >>> > Well after the upgrade i have no GPT labels any more (they are on the > disk, but not useable). > So the disk has the labels. > But they are not active, /dev/gpt is not available, i think it gets > overwritten or pushed out of the way by glabel. > > glabel list shows me the following > jailhost ~ # glabel list > Geom name: ada0 > Providers: > 1. Name: diskid/DISK-WMATV654xxxx > There's been a similar problem with graid, are you sure that's >> not what's going on here? That the OS has picked up on some >> BIOS-created thing? > I think you ran into the same issue I did when I replaced a HD with an ssd, and the 10 kernel started detecting a 'diskid' string from the ssd. It was causing geom to detect my disk by the diskid, and for some reason it was blocking access to my swap partition (overzealous exclusive access to the disk?). Try putting kern.geom.label.disk_ident.enable=0 in /boot/loader.conf and rebooting. I've been meaning to file a PR.