On Mittwoch 05 November 2008, Alan McKinnon wrote: > 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 :-)
nope. I do have a 2gb tempfs mounted at /var/tmp/portage, but then I would get 20GB overall. Also the partition size is 18gb. So du is lying. Well, the fact, that I am using a filesystem with compression, makes du lying even worse *fg*.

