From owner-freebsd-current Sun Jan 17 02:49:41 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA28902 for freebsd-current-outgoing; Sun, 17 Jan 1999 02:49:41 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from Sisyphos.MI.Uni-Koeln.DE (Sisyphos.MI.Uni-Koeln.DE [134.95.212.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA28890; Sun, 17 Jan 1999 02:49:37 -0800 (PST) (envelope-from se@dialup124.zpr.uni-koeln.de) Received: from dialup124.zpr.Uni-Koeln.DE (dialup124.zpr.Uni-Koeln.DE [134.95.219.124]) by Sisyphos.MI.Uni-Koeln.DE (8.8.7/8.8.7) with ESMTP id LAA10546; Sun, 17 Jan 1999 11:49:30 +0100 (MET) Received: (from se@localhost) by dialup124.zpr.Uni-Koeln.DE (8.9.1/8.6.9) id XAA00459; Sat, 16 Jan 1999 23:54:37 +0100 (CET) Date: Sat, 16 Jan 1999 23:54:36 +0100 From: Stefan Esser To: freebsd-current@FreeBSD.ORG Cc: Stefan Esser Subject: Re: boot single with new loader? Message-ID: <19990116235436.B382@dialup124.mi.uni-koeln.de> Reply-To: se@FreeBSD.ORG Mail-Followup-To: freebsd-current@FreeBSD.ORG References: <009c01be3b2c$92e60320$236319ac@w142844.carlson.com> <19990111231143.A83935@keltia.freenix.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <19990111231143.A83935@keltia.freenix.fr>; from Ollivier Robert on Mon, Jan 11, 1999 at 11:11:43PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 1999-01-11 23:11 +0100, Ollivier Robert wrote: > According to Thomas T. Veldhouse: > > the root slice as sync. I figured it was safer, and it wasn't that > > important to me to have that particular slice on softupdates anyway. > > Beware of something that can be deadly for a "make installworld". When > using SU, space freed by "rm" takes a bit more time to be taken into account > and you can fill "/" or "/usr" up because the space recovered by "install" > is not yet freed. > > It happened to me a few times for "/usr" and one time for "/". Having > "/bin/sh" with a 0-byte size is not good for booting :-) Yes, that forced me to turn off soft-updates for the / file system. I was lucky not to have tried rebooting the system, since then there would not have been a chance to invoke a shell (and lots of other binaries that had not made it to /bin and /sbin) from within /usr/obj ! I found that I need 3 times the size of the binaries in / during the "make install" phase, if softupdates is enabled! With more than 11MB in /bin and /sbin, I need some 20MB of free space in /, or the file system will fill up and files will be missing ! I warned about this, a few months ago, after it first hit me. Can't we work around this, for example by waking up the update daemon when the disk is nearly full ? This may call degradation of performance, but will help avoid spurious disk full situations on file systems that appear to have lots (possibly tens) of MB of free space, when you look at them a minute later ... Having a process sleep for some fraction of a second (or possibly more) in a disk full situation, when in fact many blocks have been freed and are awaiting a soft-updates commit to disk, may also be better than to have the processes fail! Regards, STefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message