From owner-freebsd-questions@FreeBSD.ORG Tue May 21 14:42:24 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 DB22D408 for ; Tue, 21 May 2013 14:42:24 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 759E3773 for ; Tue, 21 May 2013 14:42:24 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id r4LEg4Uq012438; Tue, 21 May 2013 15:42:04 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <519B87BC.1010301@qeng-ho.org> Date: Tue, 21 May 2013 15:42:04 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: saeedeh motlagh Subject: Re: setup journaling for root partition References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions 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: Tue, 21 May 2013 14:42:24 -0000 On 05/21/13 12:43, saeedeh motlagh wrote: > thanks Julien, but i think it's not true. man page for newfs seys that > journaling is done via gjournal and in freebsd handbook it says do > journaling with gjournal for UFS file system. > > you mean i should create a partition and just enable journaling for it with > -J flag? > > i think my problem is, my gjournal can not act correctly in fixit mode > because i can load it in single user mode and every thing is ok but in > fixit mode, i can not load it and all commands return errors. > > please help me to make a journal for my root:((( Look more carefully at the newfs man page. Option -J (upper case) is gjournal type journalling, option -j (lower case) is native UFS soft update journalling. It's the latter one you want. This is on RELEASE-9.1 though. What version are you on? -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_