From owner-freebsd-questions@FreeBSD.ORG Thu May 23 10:40:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E1B2D7EC for ; Thu, 23 May 2013 10:40:45 +0000 (UTC) (envelope-from t.hantzsche@hzdr.de) Received: from mxout.hzdr.de (mxout.hzdr.de [149.220.4.85]) by mx1.freebsd.org (Postfix) with ESMTP id 732A2396 for ; Thu, 23 May 2013 10:40:45 +0000 (UTC) Received: from fz-rossendorf.de (cg.hzdr.de [149.220.4.66]) by mxout.hzdr.de (Postfix) with ESMTP id EE4AABC87 for ; Thu, 23 May 2013 12:13:13 +0200 (CEST) Received: from phoebe.fz-rossendorf.de ([149.220.39.107] verified) by cg2.fz-rossendorf.de (CommuniGate Pro SMTP 5.4.9) with ESMTPS id 7789600 for freebsd-questions@freebsd.org; Thu, 23 May 2013 12:13:13 +0200 Date: Thu, 23 May 2013 12:13:13 +0200 (CEST) From: Torsten Hantzsche To: freebsd-questions Subject: Re: setup journaling for root partition In-Reply-To: Message-ID: References: <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 10:40:45 -0000 On Thu, 23 May 2013, s m wrote: > thanks, > > i do as you said, but after loading gjournal, dd says "operation not > permitted". > gjournal clear says "operation not permitted" too and therefore "gjournal > label" is not done and say previous error (gjournal cannot clear metadata > on ad3s1a: operation not permitted). and -v return no extra log. > > i don't know why i can not do any thing in fixit mode:( > > is this a true procedure? i mean maybe i should do any thing else because > freebsd handbook set journaling for user partition in single user mode not > in fixit mode. i test it and it works well, but for root partition i can > not do the same because root partition can not be unmount in single user > mode. > > any hints or comments are really appreciated. > thanks in advance > Hi, i remember having similar error messages with glabel some years ago. The solution was found in "man 4 geom" in section DIAGNOSTICS: I had to set "kern.geom.debugflags=0x10" to enable the "foot shooting" mode. Maybe this could help you too? Torsten