From owner-freebsd-questions@FreeBSD.ORG Tue Aug 12 18:10:30 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1CA7E54B for ; Tue, 12 Aug 2014 18:10:30 +0000 (UTC) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B4C23200 for ; Tue, 12 Aug 2014 17:33:05 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id bs8so6166659wib.2 for ; Tue, 12 Aug 2014 10:33:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=N8l2/3h+xBDUbFZty9MIggxtWQ9+kCpmerD4SaKARpQ=; b=qlkg4ivxQ04HvhrGUZj/RTBChbNGavAaa5/eqAxmV4tnpIhgC4nPSzgA5ap+pRnsJA CyMLYAjpXwWxtqBphh2t2YEvPnj2wMmV0EaoHtwNbrHPSsdjdhQBLSb7gEUBSr3ZZp78 LGC8Fv2LsP1ShePL8MsvGXexvDgXLm52yAmavCNpt89eZzcFn/T/q9KQKFnxKWb893x6 KFw/nqHGSRry6Hvxg1C6q6Ok1NXwXTpvVvi5gQwy182HxzzW7KwS4M11HzGY19+T1RwF MHgHQt5tKHopEhiaKrM5Ugy9Yn3GKN0EVyuGG3noIu+RvJxGtWaAnJ7gLNpc5jEW5PFQ mGkw== X-Received: by 10.181.13.112 with SMTP id ex16mr28303132wid.58.1407864783005; Tue, 12 Aug 2014 10:33:03 -0700 (PDT) Received: from gumby.homeunix.com (5ec2dc78.skybroadband.com. [94.194.220.120]) by mx.google.com with ESMTPSA id fs3sm58391799wic.20.2014.08.12.10.33.02 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Aug 2014 10:33:02 -0700 (PDT) Date: Tue, 12 Aug 2014 18:33:01 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: gpt label missing after adding gjournal Message-ID: <20140812183301.18a46b43@gumby.homeunix.com> In-Reply-To: References: <20140812131123.5a0f79fb@gumby.homeunix.com> <20140812152345.2000766b@gumby.homeunix.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2014 18:10:30 -0000 On Tue, 12 Aug 2014 09:26:16 -0600 (MDT) Warren Block wrote: > On Tue, 12 Aug 2014, RW wrote: > > > On Tue, 12 Aug 2014 08:00:34 -0600 (MDT) > > Warren Block wrote: > > > >> On Tue, 12 Aug 2014, RW wrote: > >> > >>> > >>> > > > >>> and then I created gp0home.journal and gp0rest.eli.journal > >>> > >>> when I rebooted gp0home was missing from /dev/gpt > Well, the gjournal metadata is still present on that partition. If > the gjournal kernel module is loaded, it will automount. (I think, I > have not used gjournal.) > > So maybe 'gjournal stop ada1p6.journal'. That made ada1p6.journal go way, and gp0home and gp0home.journal reappear. That doesn't directly fix the problem at boot time, but I suspect it means that I should have created gp0home.journal with the option -h Hardcode provider names in metadata. It's in several geom man pages, but I've never understood the point of it until now, I've always run gjournal on geli where there's no ambiguity. Unfortunately gjournal stop makes it switch to the other device name, so it not possible to clear. I'm going to start again.