Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2006 12:41:27 +0100
From:      "Patrick M. Hausen" <hausen@punkt.de>
To:        George Hartzell <hartzell@alerce.com>
Cc:        stable@freebsd.org
Subject:   Re: Fresh install on gmirror'ed disks?
Message-ID:  <20060306114127.GG29207@hugo10.ka.punkt.de>
In-Reply-To: <17417.618.690291.106171@satchel.alerce.com>
References:  <44077E79.2080708@rogers.com> <20060302233120.GA31584@hugo10.ka.punkt.de> <17417.618.690291.106171@satchel.alerce.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello!

On Fri, Mar 03, 2006 at 06:58:50PM -0800, George Hartzell wrote:

>  > http://ezine.daemonnews.org/200502/diskmirror.html
>  > 
>  > When the mirror is up and running, cvsup, buildworld, buildkernel,
>  > installkernel, installworld, mergemaster, reboot, enjoy ;-)
> 
> I think that the instructions in the above mentioned article mildly
> incorrect in that they enable soft-updates when they newfs the root
> partition.

AFAIK soft-updates don't put your root partition at risk _directly_.
You might run into problems, _if_ your root partition is rather
small, during installworld/installkernel. This is due to the
delayed freeing of data blocks when files are erased.
So your root partition might fill up even if there should be
plenty of space.

This has _never_ happened to me, though. My root partitions are all
at least 128 M in size and /var is _always_ separate and /tmp is
a symlink to /var/tmp.

I didn't notice that in Ralf's script, because I didn't copy
it verbatim ;-) Just used it as a guid through the process.

I did configure quite a few servers with soft-updates on all
partitions, when soft-updates were rather new and I was
excited about the performance gain and didn't know about
the possible problems with / - as I said, I never had a
single problem with that setup.

Regards,
Patrick
-- 
punkt.de GmbH         Internet - Dienstleistungen - Beratung
Vorholzstr. 25        Tel. 0721 9109 -0 Fax: -100
76137 Karlsruhe       http://punkt.de



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