From owner-freebsd-current@FreeBSD.ORG Tue Apr 27 06:00:57 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 009D71065674 for ; Tue, 27 Apr 2010 06:00:57 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id CF3C88FC0A for ; Tue, 27 Apr 2010 06:00:56 +0000 (UTC) Received: by pvc21 with SMTP id 21so811191pvc.13 for ; Mon, 26 Apr 2010 23:00:51 -0700 (PDT) Received: by 10.141.124.13 with SMTP id b13mr4779016rvn.284.1272348051350; Mon, 26 Apr 2010 23:00:51 -0700 (PDT) Received: from [10.0.1.198] (udp022762uds.hawaiiantel.net [72.234.79.107]) by mx.google.com with ESMTPS id 23sm3722997iwn.2.2010.04.26.23.00.48 (version=SSLv3 cipher=RC4-MD5); Mon, 26 Apr 2010 23:00:50 -0700 (PDT) Date: Mon, 26 Apr 2010 20:00:50 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Bruce Cran In-Reply-To: <201004251955.03492.bruce@cran.org.uk> Message-ID: References: <4BD35437.2060208@lissyara.su> <622DDEDF-0320-49DA-8037-CA8C1F682CC1@samsco.org> <201004251955.03492.bruce@cran.org.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Alex Keda , freebsd-current@freebsd.org 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: Tue, 27 Apr 2010 06:00:57 -0000 On Sun, 25 Apr 2010, Bruce Cran wrote: > 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: I think some people are enabling after returning to single user from a live system rather than booting into single user. This is a different path in the filesystem as booting directly just mounts read-only while the other option updates a mount from read/write. I believe this is the path that is broken. Thanks, Jeff > > core# dumpfs / | grep -i journal > flags soft-updates+journal > > -- > Bruce Cran >