From owner-freebsd-questions@FreeBSD.ORG Tue May 21 09:24:28 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 E035C3C5 for ; Tue, 21 May 2013 09:24:28 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com [209.85.217.170]) by mx1.freebsd.org (Postfix) with ESMTP id 6BC251B2 for ; Tue, 21 May 2013 09:24:28 +0000 (UTC) Received: by mail-lb0-f170.google.com with SMTP id t13so519253lbd.15 for ; Tue, 21 May 2013 02:24:27 -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=J6PSRq6wjwxtevRIhINjjtq6SqPrEhuwScCaSgKpKxY=; b=ncXDqDAtJnO7YsnY8nMa1r93LMvir8jcBiDbCwTOb01PAgrdJbDgzQZzCAZcHhhMcl puQCIlNcVMuwLam91E4FmZICTcvFi4JcuamiewuAQsWAMMn2RcMQdIMogz0K2k/FmmPa A1vaf99opd1z2Zo7HaSLojH/5nZtPsgRti+FqWiGxM6hSLB1gbzcLUe5J2UZ3JCirmbO F1C88VBsN058XUf1ZXNAtCmog/2Q6J66OlRx61mrZfmWbdqSOZ/NCEkl9enLuXAMK2Rs WKuOk0vpCOKmsHnqw+VSF8j4gW7yVKD7uQC69qdgSUWwa3kRgzlGoCsamcTiDH9JS1zr IS6Q== MIME-Version: 1.0 X-Received: by 10.152.8.231 with SMTP id u7mr836922laa.27.1369128267082; Tue, 21 May 2013 02:24:27 -0700 (PDT) Received: by 10.112.128.138 with HTTP; Tue, 21 May 2013 02:24:27 -0700 (PDT) In-Reply-To: References: Date: Tue, 21 May 2013 13:54:27 +0430 Message-ID: Subject: Re: setup journaling for root partition From: s m To: Michael Sierchio 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 09:24:28 -0000 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. > > >