FreeBSD 9.1 and SU+J

RW rwmaillists at googlemail.com
Sun Nov 4 13:11:08 UTC 2012


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.


More information about the freebsd-questions mailing list