Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2012 13:11:04 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 9.1 and SU+J
Message-ID:  <20121104131104.71e81e3a@gumby.homeunix.com>
In-Reply-To: <5096470C.20904@ose.nl>
References:  <AD4BB781-B3A3-4E26-966A-BAF4C3813B8E@lafn.org> <6a6b6ddcdec1296708c054d73b7b5a34@eumx.net> <5096470C.20904@ose.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 04 Nov 2012 11:44:28 +0100
Bas Smeelen wrote:

> On 11/03/2012 07:30 PM, Herbert J. Skuhra wrote:
> > On 03.11.2012 13:48, Doug Hardie wrote:
> >
> >> 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?
> >
> > This is a task for mfsBSD: http://mfsbsd.vx.sk
> >
> Hmm, I think you have to make a trip or get some kind of remote
> console over ip.
> I tried it remote on a 9.1-RC2 system that has / /tmp /var and /usr
> as seperate partions
> For / i can do a mount -o ro / and tunefs -j disable /dev/da0p2 then 
> mount -o rw /
> For the /tmp /var and /usr filesystems this does not work bcause hey 
> cannot be remounted ro while they are busy.

A quick and dirty way to do it would be to edit /etc/rc.d/fsck and put
your tunefs commands at the bottom of fsck_start(), then do a reboot.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121104131104.71e81e3a>