From owner-freebsd-questions@FreeBSD.ORG Sun May 9 06:59:19 2010 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 D7B02106566C for ; Sun, 9 May 2010 06:59:19 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.freebsd.org (Postfix) with ESMTP id 5F55D8FC16 for ; Sun, 9 May 2010 06:59:18 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o496xCbo083874 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 9 May 2010 07:59:13 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4BE65D40.8010902@infracaninophile.co.uk> Date: Sun, 09 May 2010 07:59:12 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Adam Vande More References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on happy-idiot-talk.infracaninophile.co.uk Cc: Ansar Mohammed , Bobby Walker , freebsd-questions@freebsd.org Subject: Re: File system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 May 2010 06:59:20 -0000 -----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-----