From owner-freebsd-stable Mon Mar 5 14:14: 8 2001 Delivered-To: freebsd-stable@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 758CC37B719 for ; Mon, 5 Mar 2001 14:14:05 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f25ME4r09314; Mon, 5 Mar 2001 14:14:04 -0800 (PST) Date: Mon, 5 Mar 2001 14:14:04 -0800 From: Alfred Perlstein To: Kevin Oberman Cc: stable@FreeBSD.ORG Subject: Re: Annoying gotcha with soft updates Message-ID: <20010305141404.A8663@fw.wintelcom.net> References: <200103052209.f25M9DL22452@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103052209.f25M9DL22452@ptavv.es.net>; from oberman@es.net on Mon, Mar 05, 2001 at 02:09:13PM -0800 X-all-your-base: are belong to us. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Kevin Oberman [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