Date: Wed, 24 Oct 2007 23:37:21 +1000 From: Mark Andrews <Mark_Andrews@isc.org> To: "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de> Cc: Clayton Milos <clay@milos.co.za>, freebsd-stable@freebsd.org Subject: Re: 1.3G of my /var missing Message-ID: <200710241337.l9ODbLRP003136@drugs.dv.isc.org> In-Reply-To: Your message of "Wed, 24 Oct 2007 15:18:28 %2B0200." <471F4624.2040007@gmx.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> Clayton Milos wrote: > >> Jeremy Chadwick wrote: > >>> On Wed, Oct 24, 2007 at 08:27:10AM +0200, [LoN]Kamikaze wrote: > >>>> ... > >>>> > >>>> and summing up the results I only get to less than 200M of used > >>>> space, so > >>>> there are 1.3G unaccounted for. fsck in single user mode does not > >>>> recognize a > >>>> problem. > >>> > >>> Try looking at tunefs(8), particularly the -m flag. That amount of > >>> space is kept for root (the user). > >>> > >> > >> As in most cases the problem was sitting between the chair and the > >> keyboard. I > >> simply overlooked the G when I read that /var/log contained 1.3G of data. > >> > >> I'm sorry for wasting the precious time of those who read or even > >> replied with > >> my stupidity. > > > > Sounds like you need to make a few entries in /etc/newsyslog > > First thing I do when I add any new apps is give their logs a life cycle. > > All too quickly logs become bulky and you find /var holding it's breath. > > > > -Clay > > The problem was messages, and it's related with my DVD troubles which spammed > the log with DMA errors. If you let the tools do their jobs you won't get silly errors like that. Both du and df default to returning 1k blocks. You will note that the usage figure is identical by both methods. Mark drugs# du -s /var 404806 /var drugs# df /var Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s4d 2004526 404806 1439358 22% /var drugs# -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710241337.l9ODbLRP003136>