Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 May 2010 07:59:12 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Adam Vande More <amvandemore@gmail.com>
Cc:        Ansar Mohammed <ansarm@gmail.com>, Bobby Walker <bobbyjwalker@live.com>, freebsd-questions@freebsd.org
Subject:   Re: File system
Message-ID:  <4BE65D40.8010902@infracaninophile.co.uk>
In-Reply-To: <o2v6201873e1005082216l5c298c60p66705bf218b66957@mail.gmail.com>
References:  <u2z768631271005081836k26590481qcaab03601799448d@mail.gmail.com>	<BLU0-SMTP88023B888DBB974F2A7FE6BBF80@phx.gbl>	<m2k768631271005082018r83839cc5wdc5531906234afa3@mail.gmail.com> <o2v6201873e1005082216l5c298c60p66705bf218b66957@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/05/2010 06:16:13, Adam Vande More wrote:
>> The background to this problem is because the FreeBSD root filesystem (UFS)
>> > is not journaled and for some reason I cannot set my root partition to be
>> > UFS+SoftUpdates.
>> >
> Well I'd say that's clearly not the problem since so many of us don't have
> your issues.  SU is disabled on / for a reason. I highly doubt you actually
> want to enable this, but you can if you adjust the FS when it isn't mounted
> eg boot from fixit cd.

Softupdates is not normally enabled on the root, not because enabling SU
there is a bad thing, but because the root is expected to be pretty much
read-only.  Thus there's no real point to having it.

Historically, SU was disabled due to a bug where large writes to a
filesystem (such as 'make installworld') could temporarily take up a lot
of extra space, and given the usual propensity of root filesystems[*] to
be too small in any case, that was killing people's ability to update.
That bug was, however, fixed long ago so there's no particular reason
not to have SU on the root nowadays.

To turn on softupdates on the root, you need to *reboot* to single user
mode, or else boot from a livecd.  You can easily turn on softupdates on
root from sysinstall at install time.

You can implement journalling using gjournal -- just not from
sysinstall.  Or you can use ZFS which effectively has journalling and
other filesystem goodness built-in.  Search the wiki at
http://wiki.freebsd.org/ for instructions.

	Cheers,

	Matthew

[*] At the risk of sounding like a broken record -- using one big UFS
filesystem for all of /, /usr, /var works really well, and gets rid of
this sort of updating headache for ever.  The question is moot for ZFS
- -- you'ld allocate all the disk space from the same pool, but the
devices you create are resizable, so you can divide it up as much s you
like and set different flags on different locations without penalty.

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvmXUAACgkQ8Mjk52CukIyN9gCgh3SP6L5sYrCb4Zb9Xjcghy0p
UKQAn2fOap7e1hLZwdR+kusF4EG4CHjb
=j50x
-----END PGP SIGNATURE-----



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