Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2001 14:14:04 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Kevin Oberman <oberman@es.net>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Annoying gotcha with soft updates
Message-ID:  <20010305141404.A8663@fw.wintelcom.net>
In-Reply-To: <200103052209.f25M9DL22452@ptavv.es.net>; from oberman@es.net on Mon, Mar 05, 2001 at 02:09:13PM -0800
References:  <200103052209.f25M9DL22452@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Kevin Oberman <oberman@es.net> [010305 14:09] wrote:
> I have recently run into what appears to be a small gotcha (not exactly
> a bug) with the use of soft updates on the root partition. This could
> also apply to the /usr partition, as well, I suppose, but not as
> likely there.
> 
> I have my laptop configured with the normal 50 MB root partition. I
> also have enabled soft updates on root. This all works very nicely
> except when I update my system. I can't so an installworld with
> soft updates turned on. I invariably get a failure with the root
> partition full. If I turn off soft updates, the installworld runs
> fine.
> 
> I believe the problem lies in the way soft updates deals with deleted
> files. It seems to only add them to the free space on a periodic
> basis. I delete a VERY large file and I don't see the free space
> increase for a while.
> 
> My root partition typically runs about 75-80% full, but the space used
> climbs when /sbin files are installed followed by the inevitable. With
> soft updates turned off, I don't see this happen.
> 
> Unless I have mis-analyzed something, it might be advisable to
> recommend 'tunefs -n disable /' after booting to single user mode if
> soft updates are running on the root partition.
> 
> IS this the case or am I missing something?

This is basically why we don't ship with softupdates on all partitions.

It's sort of odd to me that when a FS runs out of space or is low on
space it doesn't put backpressure on the syncer to speed up deletions...
or halt giving more space to applications until the softdeps have been
resolved.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]

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




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