From owner-freebsd-current@FreeBSD.ORG Wed Aug 31 18:02:40 2011 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 247FB106564A for ; Wed, 31 Aug 2011 18:02:40 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id D3C248FC0C for ; Wed, 31 Aug 2011 18:02:39 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1Qyp7W-0007tq-VQ>; Wed, 31 Aug 2011 20:02:39 +0200 Received: from e178023043.adsl.alicedsl.de ([85.178.23.43] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1Qyp7W-0001r0-SJ>; Wed, 31 Aug 2011 20:02:38 +0200 Message-ID: <4E5E773E.4050806@zedat.fu-berlin.de> Date: Wed, 31 Aug 2011 20:02:38 +0200 From: "Hartmann, O." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0) Gecko/20110825 Thunderbird/6.0 MIME-Version: 1.0 To: Garrett Cooper References: <4E5E70AF.2080806@zedat.fu-berlin.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.23.43 Cc: freebsd-current Subject: Re: howto: enabling journaling on softupdates 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: Wed, 31 Aug 2011 18:02:40 -0000 On 08/31/11 19:56, Garrett Cooper wrote: > On Wed, Aug 31, 2011 at 10:34 AM, Hartmann, O. > wrote: >> I try to find a suitable reading/howto for how to enable softupdates >> on >> UFS2 filesystems. > Agreed. Added to http://wiki.freebsd.org/DocsFor9x . Many thanks. >> As I could see, SU+J is enlisted to be enabled by default in 9.0-RELEASE. > Yes, it is on by default in bsdinstall (and I think in newfs? I could be wrong). Great! >> What is the status quo of that? I've several active systems running >> UFS2 on their system disks while data/home/mass storage is ZFS. >> Are their any issue with SU+J? > I haven't been tracking what's been going on, but several bugfixes > have gone in in the last couple of months post-SUJ. There might be > some bugs in the work, but most standard operations work out of the > box for me at least. > > ... > >> I hit was "-J", the option for enabling softupdate via GEOM gjournal. > Yeah, it's confusing.. > >> Is there any special preparation to bring up an existing filesystem >> securely into >> journaling? As I read the blogs and emails in the list, it should be >> as simple >> as booting into single user mode, enabling on all partitions in >> question (even / ?) > Yes. > >> via -j softupdate-journaling, runing a foreground fsck, reboot ... >> that's it? > If all goes well, that was the entire process IIRC. To late ... ;-) I couldn't resist the temptation, shut down the box, reboot single user mode, enabled "-j" (the lower letter `j' !!!), did a full fsck -y ... rebooted ... >> Or is there any other additional preparation like mentioned in gjournal >> (async mount)? > ENOCLUE (because I'm not aware of that with gjournal -- the last time > I tried setting it up things didn't work too well for me) :). > >> Thanks for patience and repsonding, > Sure :)! > -Garrett > _____________ ... and here I am again with SU+J on my box ;-) Tomorrow, I will perform this step on all servers. I guess it's a "worth having". Oliver