On Wednesday 05 November 2008 20:39:54 Volker Armin Hemmann wrote:
> On Mittwoch 05 November 2008, Alan McKinnon wrote:
> > On Wednesday 05 November 2008 18:26:35 Volker Armin Hemmann wrote:
> > > > * Use 'qsize' from app-portage/portage-utils to find out package
> > > > sizes. * Use 'du -sm /* /*/* | sort -n' to take a first peak at how
> > > > files are distributed on your disk.
> > >
> > > and don't forget that du is lying - a lot.
> >
> > No it doesn't, du is very exact.
>
> nope, it is lying.

No it's not :-)

Be prepared to find out stuff:

> du -h /var
>
> 31G     /var

This is the total size of all files below /var, measured as actual allocatable 
disk space consumed, not the sum of the size of all files.

> df -h
> /dev/md2               18G  5,4G   13G  31% /var

This is the *filesystem* mounted at /var, the data comes from it's superblock

>
> as I said - lying ;)

I say you have other filesystems mounted below /var somewhere, about 25G worth 
of stuff. Or, you have a 25G sparse file :-)

-- 
alan dot mckinnon at gmail dot com

Reply via email to