Date: Fri, 15 Mar 2002 20:09:43 +0100 From: Erik Trulsson <ertr1013@student.uu.se> To: Kevin Stevens <kevin_stevens@pursued-with.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Available disk space is negative ? Message-ID: <20020315190943.GA28657@student.uu.se> In-Reply-To: <6D5CF9A4-3847-11D6-9C81-003065715DA8@pursued-with.net> References: <20020315173637.GA27797@student.uu.se> <6D5CF9A4-3847-11D6-9C81-003065715DA8@pursued-with.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 15, 2002 at 11:04:08AM -0800, Kevin Stevens wrote: > > On Friday, March 15, 2002, at 09:36 , Erik Trulsson wrote: > > >On Fri, Mar 15, 2002 at 06:17:52PM +0100, Jean-Yves Lefort wrote: > >>Hello all, > >> > >>This night i started a make buildworld on my router before > >>going to bed; unhopefully, i forgot to check the available > >>disk space before starting it, and when i waked up > >>i saw the buildworld dead because of disk full. > >> > >>I issued a 'df', and oh surprise, my available disk space > >>was '-85mb'. Negative value??? FreeBSD giving me a few > >>extra megs for free? Waw :) > >> > >>Well seriously, how does it happened? > > > >FreeBSD normally reserves a part of the filesystem that only root > >can use. > >The area reserved is by default 8% IIRC. This area is *not* included > >in the total space available reported by df. > >So if you get a negative value available disk space that just means > >that you have started using this reserved area. > > > >One reason why a part of the filesystem is set aside in this manner is > >that the performance of the filesystem drops rapidly as it becomes > >almost full so you normally don't want to use those last megabytes > >anyway. > > Where is this adjusted, in newfs? I have a 45GB /data partition, 4GB > seems a bit excessive for those "last megabytes"! > > KeS > newfs when you create the filesystem, tunefs for existing filesystems. -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020315190943.GA28657>