Date: Wed, 29 Oct 2008 18:19:49 -0700 From: Jeremy Chadwick <koitsu@FreeBSD.org> To: Brendan Hart <brendanh@strategicecommerce.com.au> Cc: freebsd-questions@freebsd.org Subject: Re: Large discrepancy in reported disk usage on USR partition Message-ID: <20081030011949.GA91409@icarus.home.lan> In-Reply-To: <021f01c93a28$651752e0$2f45f8a0$@com.au> References: <021f01c93a28$651752e0$2f45f8a0$@com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 30, 2008 at 11:12:32AM +1030, Brendan Hart wrote: > I have inherited some servers running various releases of FreeBSD and I am > having some trouble with the /usr partition on one of these boxen. > > The problem is that there appears to be far more space used on the USR > partition than there are actual files on the partition. The utility "df -h" > reports 25GB used (i.e. nearly the whole partition), but "du -x /usr" > reports only 7.6GB of files. Have you tried playing with tunefs(8), -m flag? I can't reproduce this behaviour on any of our systems. icarus# df -k /usr Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/ad12s1f 167879968 1973344 152476228 1% /usr icarus# du -sx /usr 1973344 /usr eos# df -k /usr Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/ad0s1f 32494668 2261670 27633426 8% /usr eos# du -sx /usr 2261670 /usr anubis# df -k /usr Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/ad4s1f 80010344 1809620 71799898 2% /usr anubis# du -sx /usr 1809620 /usr horus# df -k /usr Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/ad4s1f 32494668 1608458 28286638 5% /usr horus# du -sx /usr 1608458 /usr -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081030011949.GA91409>