From owner-freebsd-questions@FreeBSD.ORG Tue May 21 10:10:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 138402FE for ; Tue, 21 May 2013 10:10:36 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 924005F6 for ; Tue, 21 May 2013 10:10:35 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id z5so546979lbh.41 for ; Tue, 21 May 2013 03:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dqapQ2v+2rEtiBC7A3z/4JBrIogt8e87CEvE2S9Q/fQ=; b=AMRv/UxQjrBgdEJOUFLAlx4vCtQzHOVs0X0GF/eYBz9CGO88x2h8BCY4YxG5DO3ewu lMU2KWdYcwyjT7lU7l6+p8xnMa0qNMVhfx6Zcolf4C1Fq9p76WiuhWBpKxcs+vwyrfBR ugAwDWKwXHhx2H7RMk+5LNUf/L/21HP5JmZUwKbdNAndeLrtITX3YiLPxMl0BB7ecyEe 5Q5ETVriu/yHRxROpiV9CDN2jT2e3ezBnPQXq1AfoQ52Gu/sjbfvPCi5AWwAVw14OQ3Y 44CN2jMuF6MgNYSGKPy2M8iW29RUBnMbhyt4ZfJksZLFurK4EMSe25D52HcTvmfHHjFd ZkmQ== MIME-Version: 1.0 X-Received: by 10.112.162.40 with SMTP id xx8mr1162469lbb.30.1369131034120; Tue, 21 May 2013 03:10:34 -0700 (PDT) Received: by 10.112.128.138 with HTTP; Tue, 21 May 2013 03:10:34 -0700 (PDT) In-Reply-To: <519B40D8.2090809@ulb.ac.be> References: <519B40D8.2090809@ulb.ac.be> Date: Tue, 21 May 2013 14:40:34 +0430 Message-ID: Subject: Re: setup journaling for root partition From: s m To: Julien Cigar Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 10:10:36 -0000 you mean that journaling is enabled by default???? i don't think so. i think i misunderstanding. may i ask you to explain it more clear? On Tue, May 21, 2013 at 2:09 PM, Julien Cigar wrote: > gjournal should not be used anymore as it has been implemented in the file > system code ... > > > On 05/21/2013 11:24, s m wrote: > >> thanks Michael >> >> this is what i've done (based on the FreeBSD handbook): creating a >> partition for journal, go to single user mode, unmount desired partition >> (for example /usr), load gjournal, add journal partition to /usr >> partition. >> this procedure works well for user and other partitions except root >> because >> i can not unmount it. >> >> should i set up journaling in fixit mode with gpart? how? i try different >> ways but none of them work for me:(( >> >> >> >> On Tue, May 21, 2013 at 10:36 AM, Michael Sierchio > >wrote: >> >> On Mon, May 20, 2013 at 10:59 PM, s m wrote: >>> >>> hello everybody >>>> >>>> i want to setup a journal partition for my root partition. but i do not >>>> know how to do that. in FreeBSD handbook, it is done in single user >>>> mode, >>>> unmount the desired partition and assign the journal partition to it. i >>>> test this procedure and it is done for /usr partition but for root >>>> partition, it can not be unmount in single user mode. >>>> >>>> >>>> See the man page on gjournal >>> >>> To configure journaling on the UFS file system using gjournal, one >>> should >>> first create a gjournal provider using the gjournal utility, then >>> run >>> newfs(8) or tunefs(8) on it with the -J flag which instructs UFS to >>> coop- >>> erate with the gjournal provider below. >>> >>> >>> >>> ______________________________**_________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions >> To unsubscribe, send any mail to "freebsd-questions-** >> unsubscribe@freebsd.org " >> > > > -- > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. > > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " >