From owner-freebsd-stable@FreeBSD.ORG Wed Oct 24 13:37:24 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0294116A41A for ; Wed, 24 Oct 2007 13:37:24 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (drugs.dv.isc.org [IPv6:2001:470:1f00:820:214:22ff:fed9:fbdc]) by mx1.freebsd.org (Postfix) with ESMTP id B7E6213C4A8 for ; Wed, 24 Oct 2007 13:37:23 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.14.1/8.14.1) with ESMTP id l9ODbLRP003136; Wed, 24 Oct 2007 23:37:21 +1000 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200710241337.l9ODbLRP003136@drugs.dv.isc.org> To: "[LoN]Kamikaze" From: Mark Andrews In-reply-to: Your message of "Wed, 24 Oct 2007 15:18:28 +0200." <471F4624.2040007@gmx.de> Date: Wed, 24 Oct 2007 23:37:21 +1000 Sender: marka@isc.org Cc: Clayton Milos , freebsd-stable@freebsd.org Subject: Re: 1.3G of my /var missing X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2007 13:37:24 -0000 > 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