From owner-freebsd-questions@FreeBSD.ORG Sun Nov 4 22:18:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C562F41B for ; Sun, 4 Nov 2012 22:18:09 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id 7A1BD8FC0C for ; Sun, 4 Nov 2012 22:18:09 +0000 (UTC) Received: from [10.0.1.4] (pool-98-112-217-228.lsanca.fios.verizon.net [98.112.217.228]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id qA4MI18Z047663; Sun, 4 Nov 2012 14:18:02 -0800 (PST) (envelope-from bc979@lafn.org) Subject: Re: FreeBSD 9.1 and SU+J Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Doug Hardie In-Reply-To: <50968410.60506@ose.nl> Date: Sun, 4 Nov 2012 14:18:00 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <6a6b6ddcdec1296708c054d73b7b5a34@eumx.net> <5096470C.20904@ose.nl> <20121104131104.71e81e3a@gumby.homeunix.com> <509674FB.9080208@ose.nl> <50968410.60506@ose.nl> To: Bas Smeelen X-Mailer: Apple Mail (2.1283) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org 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: Sun, 04 Nov 2012 22:18:09 -0000 On 4 November 2012, at 07:04, Bas Smeelen wrote: > On 11/04/2012 03:00 PM, Bas Smeelen wrote: >> On 11/04/2012 02:11 PM, RW wrote: >>> On Sun, 04 Nov 2012 11:44:28 +0100 >>> Bas Smeelen wrote: >>>=20 >>>> On 11/03/2012 07:30 PM, Herbert J. Skuhra wrote: >>>>> On 03.11.2012 13:48, Doug Hardie wrote: >>>>>=20 >>>>>> I didn't notice that journaling is on by default and now dump is >>>>>> failing. The only way I can see to disable journaling requires >>>>>> that the file system be dismounted, or read-only. This is a >>>>>> remote machine and journaling is on root. Is there any other way >>>>>> that would not require me to make a long trip out to the site? >=20 > I guess I was a little off here, it actually worked for / also > See further below for the whole story > This was all done remote with ssh >=20 > $ mount > /dev/da0p2 on / (ufs, local, soft-updates) > devfs on /dev (devfs, local, multilabel) > /dev/da0p3 on /tmp (ufs, local, soft-updates) > /dev/da0p4 on /var (ufs, local, soft-updates) > /dev/da0p5 on /usr (ufs, local, soft-updates) > $ su > Password: > root@osebart:/usr/home/Freebee # rm /.sujournal > root@osebart:/usr/home/Freebee # rm /var/.sujournal > root@osebart:/usr/home/Freebee # rm /tmp/.sujournal > root@osebart:/usr/home/Freebee # rm /usr/.sujournal > root@osebart:/usr/home/Freebee # uname -a > FreeBSD osebart.ose.nl 9.1-RC2 FreeBSD 9.1-RC2 #0 r241106: Mon Oct 1=20= > 18:26:44 UTC 2012=20 > root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 I can't get that to work on i386. Here is /etc/rc.d/fsck: ____________________________________ fi echo "Ready for tunefs" /sbin/tunefs -j disable /dev/da0p2 } load_rc_config $name run_rc_command "$1" ____________________________________ reboot computer and here is the output from messages: ____________________________________ Nov 4 14:07:19 Router kernel: Ready for tunefs Nov 4 14:07:19 Router kernel: Clearing journal flags from inode 4 Nov 4 14:07:19 Router kernel: tunefs: soft updates journaling cleared = but soft updates still set. Nov 4 14:07:19 Router kernel: tunefs: remove .sujournal to reclaim = space Nov 4 14:07:19 Router kernel: Mounting local file systems:. ____________________________________ and the output from mount: Router# mount /dev/da0p2 on / (ufs, local, journaled soft-updates) devfs on /dev (devfs, local, multilabel) ____________________________________ Journaled is still on after 2 reboots. Router# uname -a FreeBSD Router 9.1-RC2 FreeBSD 9.1-RC2 #0 r241133: Tue Oct 2 17:11:45 = UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC = i386 -- Doug