From owner-freebsd-questions Mon Oct 30 10: 9:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from siafu.iconnect.co.ke (upagraha.iconnect.co.ke [209.198.248.2]) by hub.freebsd.org (Postfix) with ESMTP id 0727B37B479 for ; Mon, 30 Oct 2000 10:09:33 -0800 (PST) Received: from [212.22.163.2] (helo=poeza.iconnect.co.ke) by siafu.iconnect.co.ke with esmtp (Exim 2.12 #1) id 13qJLk-00091d-00; Mon, 30 Oct 2000 21:08:01 +0300 Received: from wash by poeza.iconnect.co.ke with local (Exim 3.16 #1) id 13qJOq-0001wn-00; Mon, 30 Oct 2000 21:11:12 +0300 Date: Mon, 30 Oct 2000 21:11:12 +0300 From: Odhiambo Washington To: freebsd-questions@freebsd.org Cc: brueggma@snoopie.yi.org Subject: Re: du/df Message-ID: <20001030211112.V4090@poeza.iconnect.co.ke> Mail-Followup-To: Odhiambo Washington , freebsd-questions@freebsd.org, brueggma@snoopie.yi.org References: <20001025000210.A2828@snoopie.yi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001025000210.A2828@snoopie.yi.org>; from "Eric Brueggmann" on Wed, Oct 25, 2000 at 12:02:10AM -0500 X-Operating-System: FreeBSD poeza.iconnect.co.ke 3.5-STABLE FreeBSD 3.5-STABLE X-Location: Mombasa, KE, East Africa Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Eric Brueggmann [20001025 08:04]: =>Hello.. => => Sorry for the cross post. I was wondering what could cause this: => =># du -hc /var | grep total => 15M total =># df -h /var =>Filesystem Size Used Avail Capacity Mounted on =>/dev/ad3s2e 483M 101M 343M 23% /var =># sync =># df -h /var =>Filesystem Size Used Avail Capacity Mounted on =>/dev/ad3s2e 483M 101M 343M 23% /var => =>This happens every couple of weeks or so.. The difference is usually not =>as great as it is now. Is there any way to fix it? I don't think du is =>following any sym links, or anything. As root alouette# du -hc /var/ | grep total 23M total alouette# df -h /var/ Filesystem Size Used Avail Capacity Mounted on /dev/ad0s2f 34M 23M 8.0M 74% /var alouette# As ordinary user: I get a disparity because I am denied permission to some directories for du -hc /var [snip] 39K /var/db/pkg/AbiWord-0.7.10 5.0K /var/db/pkg/lrzsz-0.12.20 5.0K /var/db/pkg/minicom-1.83.1 6.0K /var/db/pkg/bash-2.04 . . . 1.2M /var/tpc 19M /var 19M total [snip] [wash@alouette:~]> df -h /var/ Filesystem Size Used Avail Capacity Mounted on /dev/ad0s2f 34M 23M 8.0M 74% /var [wash@alouette:~]> HTH -Wash -- Odhiambo Washington Inter-Connect Ltd., wash@iconnect.co.ke 5th Flr Furaha Plaza Tel: 254 11 222604 Nkrumah Rd., Fax: 254 11 222636 PO Box 83613 MOMBASA, KENYA. What we call human nature in actuality is human habit. -Jewel, "Pieces of You" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message