From owner-freebsd-questions@FreeBSD.ORG Tue May 21 06:06:19 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 1DE35E53 for ; Tue, 21 May 2013 06:06:19 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ob0-x230.google.com (mail-ob0-x230.google.com [IPv6:2607:f8b0:4003:c01::230]) by mx1.freebsd.org (Postfix) with ESMTP id E10891F4 for ; Tue, 21 May 2013 06:06:18 +0000 (UTC) Received: by mail-ob0-f176.google.com with SMTP id wp18so280087obc.35 for ; Mon, 20 May 2013 23:06:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=8ctUwct4g6V13too9ssLH3WO7TZYU39GXqn7Tb+PD7g=; b=aP64Nc9YBey0Abyk4EYKiQe6iq/TjtgPDigJiTAPY6Fu7vFbm+skKV4oSHi/hOIszA miylyOOC8GvLqBWx+dlJSOH1004UmoroBJd7utDB2MJHTQ4YMSOFJl73PvZp5PWoli0J MVuuid/1YAKptEO7Vwi36kqUmtlrN7dtDaV8fBtubZezKfMu1vrjIWfHtu336p8Sgbwe N5AbCLoe2ZJhfkRhD7ki6Lc9aF45Nfr7BSrOTRg21Sv7lbOIhNkYtA4ZgWb+PuHdXRLg M9lq8/Vr/8j+t+KQKpeTU9beOo8TekeklJarxGJ9ygsM3Mi0fn3WP/5IaZt6Ai7eE2l6 DSxw== MIME-Version: 1.0 X-Received: by 10.60.17.231 with SMTP id r7mr535970oed.13.1369116378499; Mon, 20 May 2013 23:06:18 -0700 (PDT) Received: by 10.60.57.37 with HTTP; Mon, 20 May 2013 23:06:18 -0700 (PDT) In-Reply-To: References: Date: Mon, 20 May 2013 23:06:18 -0700 Message-ID: Subject: Re: setup journaling for root partition From: Michael Sierchio To: s m X-Gm-Message-State: ALoCoQmIt6/xa+Vh1h0/XWlzPAZoAwy/WTZdcXx1NssSjppRSy9cBGhku8OpDoDb8kv1HENBWrJG 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 06:06:19 -0000 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.