From owner-freebsd-questions@FreeBSD.ORG Tue Dec 13 19:34:36 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7576B1065677 for ; Tue, 13 Dec 2011 19:34:36 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.45]) by mx1.freebsd.org (Postfix) with SMTP id DF3798FC0C for ; Tue, 13 Dec 2011 19:34:35 +0000 (UTC) Received: (qmail invoked by alias); 13 Dec 2011 19:34:34 -0000 Received: from adsl-11.109.242.89.tellas.gr (EHLO [192.168.73.194]) [109.242.89.11] by mail.gmx.com (mp-eu004) with SMTP; 13 Dec 2011 20:34:34 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX19k98BEsdZk+5p754mQpO+saRCtJ9yVWIKXKkBjOG oEFFzoIkyY2ME/ Message-ID: <4EE7A8BC.1080402@gmx.com> Date: Tue, 13 Dec 2011 21:34:20 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Vincent Hoffman References: <4EE77667.9060501@unsane.co.uk> In-Reply-To: <4EE77667.9060501@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: questions@freebsd.org Subject: Re: Disabling geom_journal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2011 19:34:36 -0000 On 12/13/2011 5:59 PM, Vincent Hoffman wrote: > Hi all, > I'm sure I have seen this come up before but a google doesnt > help. I am trying to disable gjournal on a disk so i can move to suj as > part of moving on to the 9.x series, I have umounted the FS but when i > try to stop the journal it automatically starts it on the gtpid of the > device and if i stop that it goes back to the original device name. > > [root@ostracod ~/doc]# gjournal list > Geom name: gjournal 2909580316 > ID: 2909580316 > Providers: > 1. Name: ada1p2.journal > Mediasize: 494739118080 (460G) > Sectorsize: 512 > Mode: r0w0e0 > Consumers: > 1. Name: ada1p2 > Mediasize: 495812860416 (461G) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 17408 > Mode: r1w1e1 > Jend: 495812859904 > Jstart: 494739118080 > Role: Data,Journal > > [root@ostracod ~/doc]# gjournal stop ada1p2.journal > [root@ostracod ~/doc]# gjournal list > Geom name: gjournal 2909580316 > ID: 2909580316 > Providers: > 1. Name: gptid/9e1798be-b5f3-11de-a1eb-00012e273257.journal > Mediasize: 494739118080 (460G) > Sectorsize: 512 > Mode: r0w0e0 > Consumers: > 1. Name: gptid/9e1798be-b5f3-11de-a1eb-00012e273257 > Mediasize: 495812860416 (461G) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 17408 > Mode: r1w1e1 > Jend: 495812859904 > Jstart: 494739118080 > Role: Data,Journal > > > Any idea how to stop this without setting kern.geom.label.gptid.enable=0 > in my loader.conf and rebooting? You don't have to reboot, just set kern.geom.label.gptid.enable to zero, gjournal stop ada1p2, gjournal clear ada1p2 and re-enable gptid labels. HTH, Nikos