Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2001 00:52:06 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        David Scheidt <dscheidt@tumbolia.com>
Cc:        "Benjamin P. Grubin" <bgrubin@pobox.com>, current@FreeBSD.ORG
Subject:   Re: softupdates on /
Message-ID:  <20010706005206.A3930@dan.emsphone.com>
In-Reply-To: <Pine.BSF.4.32L2.0107060045440.38148-100000@shell-2.enteract.com>
References:  <20010705192828.B25217@dan.emsphone.com> <Pine.BSF.4.32L2.0107060045440.38148-100000@shell-2.enteract.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jul 06), David Scheidt said:
> On Thu, 5 Jul 2001, Dan Nelson wrote:
> 
> :In the last episode (Jul 05), Benjamin P. Grubin said:
> :> As of a month ago or so, there was some discussion that concluded it
> :> was unsafe to enable softupdates on a root partition.  Is it safe to
> :> go back in the water there, now?
> :
> :The 2 drawbacks with SU are
> :
> :1 - You can't immediately reuse the space occupied by a file you just
> :    deleted; this may bite you if you do an installworld and don't have
> :    20MB free on /.  when it comes to installing /sbin, you need 18MB
> :    for the new binaries, but you can't reuse the 18MB for the
> :    just-deleted binaries.
> 
> I've dodged that problem by SIGSTOPing installworld a couple times during
> the /sbin install, waiting for softupdates to catchup, and then SIGCONTing
> it.  That's a pain; it's ugly, but it does work.  Easier than a reboot,
> sometimes.

My workaround when it bit me was to run a "while sleep 1 ; do sync ;
done" loop in another window to speed up the softupdate clock.  I
suppose cranking down the kern.{file,meta,dir}delay sysctls would have
done the same thing.

-- 
	Dan Nelson
	dnelson@emsphone.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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