From owner-freebsd-questions@FreeBSD.ORG Tue Aug 12 14:00:36 2014 Return-Path: Delivered-To: freebsd-questions@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 888A89A3 for ; Tue, 12 Aug 2014 14:00:36 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3837C2480 for ; Tue, 12 Aug 2014 14:00:35 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id s7CE0Ytw002244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 12 Aug 2014 08:00:34 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id s7CE0YwZ002241; Tue, 12 Aug 2014 08:00:34 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 12 Aug 2014 08:00:34 -0600 (MDT) From: Warren Block To: RW Subject: Re: gpt label missing after adding gjournal In-Reply-To: <20140812131123.5a0f79fb@gumby.homeunix.com> Message-ID: References: <20140812131123.5a0f79fb@gumby.homeunix.com> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 12 Aug 2014 08:00:34 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2014 14:00:36 -0000 On Tue, 12 Aug 2014, RW wrote: > > > I followed Warren Block's howto: > http://www.wonkity.com/~wblock/docs/html/disksetup.html > to partition a new drive like this: > > $ gpart show -l ada1 > => 34 5860533101 ada1 GPT (2.7T) > 34 6 - free - (3.0K) > 40 1024 1 gp0boot (512K) > 1064 984 - free - (492K) > 2048 8388608 2 gp0root (4.0G) > 8390656 33554432 3 gp0swap (16G) > 41945088 4194304 4 gp0var (2.0G) > 46139392 100663296 5 gp0usr (48G) > 146802688 1468006400 6 gp0home (700G) > 1614809088 4245723136 7 gp0rest (2.0T) > 5860532224 911 - free - (456K) > > and then I created gp0home.journal and gp0rest.eli.journal > > when I rebooted gp0home was missing from /dev/gpt > > $ ls /dev/gpt > gp0boot gp0rest gp0root gp0swap gp0usr gp0var > > The gjournal partition is recognized as > /dev/ada1p6.journal and can be mounted, but I can't mount it with the > gpt label. > > Anyone know what's going on? Mounting a device, or that device being used by another device, can cause the labels to be hidden. The gp0home.journal device is using /dev/gpt/gp0home, so that device label "withers" and disappears. If you unmount /dev/ada1p6.journal, does /dev/gpt/gp0home become visible again?