From owner-freebsd-questions@FreeBSD.ORG Thu May 23 05:27:53 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 0E7641C9 for ; Thu, 23 May 2013 05:27:53 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-la0-x231.google.com (mail-la0-x231.google.com [IPv6:2a00:1450:4010:c03::231]) by mx1.freebsd.org (Postfix) with ESMTP id 87892214 for ; Thu, 23 May 2013 05:27:52 +0000 (UTC) Received: by mail-la0-f49.google.com with SMTP id fp13so2798219lab.36 for ; Wed, 22 May 2013 22:27:50 -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=JO9l/6+nLYqUi0ueuUpsxLCAW1rbz0EZVTOGkYTVc4M=; b=MHnp0X82bIr5qc9bAPQThQ2RYh4PgutyZgOeEOT88ekY3aXgGvltB7DP0gKTS18y9B FJsbWA6PKIK86YCTij15Xk7Kp886X9XpJVjWyVshwdXlmGf5KDjbOVPrWz/O87VCjXwJ AeNIrcGbzpL0LHpk1pEAtxnrXy1yDWp3HtacGV2XxnamFUlhjwIZuFLDsRhh0cG9NGIb IPsi+HYiI3e1hybKbRKwSeJF13La/yyhR05eMIVN3Vtbsqcw/F0xE+b/cdD9g/qfDb65 xNBTL9X4Ns9ZoDrGRKpQ0XT0lqgcojN795igDa9mf/rhisMAP2OR5oL24j+5FqBw3O60 xkiQ== MIME-Version: 1.0 X-Received: by 10.112.184.226 with SMTP id ex2mr5626526lbc.33.1369286870565; Wed, 22 May 2013 22:27:50 -0700 (PDT) Received: by 10.112.2.70 with HTTP; Wed, 22 May 2013 22:27:50 -0700 (PDT) In-Reply-To: References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> Date: Thu, 23 May 2013 09:57:50 +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: Thu, 23 May 2013 05:27:53 -0000 thanks Michael, but in all documentation about journaling, tunefs is used as below: "tunefs -J enable ad3s1X.journal". ad3s1X.journal is created by gjournal command: "gjournal label ad3s1a ad3s1g" that assign ad3s1g as journal provider for ad3s1a and create ad3s1a.journal which contains ad3s1a as data provider and ad3s1g as journal provider. my problem is, i can not run gjournal command for root partition in fixit mode nor single user mode. you mean, i should just use tunefs command on ad3s1X (root partition)? if yes, then where journal provider for root partition is located? in root partition? On Wed, May 22, 2013 at 10:23 AM, Michael Sierchio wrote: > > > On Tue, May 21, 2013 at 10:14 PM, s m wrote: > >> thanks guys for your attentions. >> >> i want to setup journaling in FreeBSD 8.2. i compare soft-update and >> journaling and choose journaling (it is more suitable for my goals). >> >> i want to enable journaling for all my partitions. i can do it for all >> partitions except root in single user mode. i can not do it for root >> because i can not unmount root in single user mode. >> >> > No, but you don't need to. In single user mode, root is mounted > read-only. You can run tunefs on the root fs device. > > - M >