From owner-freebsd-current@FreeBSD.ORG Sun Apr 25 18:55:06 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3C26106564A for ; Sun, 25 Apr 2010 18:55:05 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2001:470:1f09:679::1]) by mx1.freebsd.org (Postfix) with ESMTP id B87CA8FC1B for ; Sun, 25 Apr 2010 18:55:05 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id D74B58313; Sun, 25 Apr 2010 18:55:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon.cran.org.uk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 Received: from core.draftnet (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Sun, 25 Apr 2010 18:55:04 +0000 (UTC) From: Bruce Cran To: freebsd-current@freebsd.org Date: Sun, 25 Apr 2010 19:55:03 +0100 User-Agent: KMail/1.13.2 (FreeBSD/9.0-CURRENT; KDE/4.4.2; amd64; ; ) References: <4BD35437.2060208@lissyara.su> <622DDEDF-0320-49DA-8037-CA8C1F682CC1@samsco.org> In-Reply-To: <622DDEDF-0320-49DA-8037-CA8C1F682CC1@samsco.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201004251955.03492.bruce@cran.org.uk> Cc: Alex Keda , Jeff Roberson Subject: Re: HEADS UP: SUJ Going in to head today X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2010 18:55:06 -0000 On Sunday 25 April 2010 19:47:00 Scott Long wrote: > On Apr 24, 2010, at 8:57 PM, Jeff Roberson wrote: > > On Sun, 25 Apr 2010, Alex Keda wrote: > >> try in single user mode: > >> > >> tunefs -j enable / > >> tunefs: Insuffient free space for the journal > >> tunefs: soft updates journaling can not be enabled > >> > >> tunefs -j enable /dev/ad0s2a > >> tunefs: Insuffient free space for the journal > >> tunefs: soft updates journaling can not be enabled > >> tunefs: /dev/ad0s2a: failed to write superblock > > > > There is a bug that prevents enabling journaling on a mounted filesystem. > > So for now you can't enable it on /. I see that you have a large / > > volume but in general I would also suggest people not enable suj on / > > anyway as it's typically not very large. I only run it on my /usr and > > /home filesystems. > > > > I will send a mail out when I figure out why tunefs can't enable suj on / > > while it is mounted read-only. > > This would preclude enabling journaling on / on an existing system, but I > would think that you could enable it on / on a system that is being > installed, since (at least in theory) the target / filesystem won't be the > actual root of the system, and therefore can be unmounted at will. It worked here - it's shown as enabled after I booted in single-user mode and enabled it yesterday: core# dumpfs / | grep -i journal flags soft-updates+journal -- Bruce Cran