1 |
On Wednesday 05 November 2008 20:39:54 Volker Armin Hemmann wrote: |
2 |
> On Mittwoch 05 November 2008, Alan McKinnon wrote: |
3 |
> > On Wednesday 05 November 2008 18:26:35 Volker Armin Hemmann wrote: |
4 |
> > > > * Use 'qsize' from app-portage/portage-utils to find out package |
5 |
> > > > sizes. * Use 'du -sm /* /*/* | sort -n' to take a first peak at how |
6 |
> > > > files are distributed on your disk. |
7 |
> > > |
8 |
> > > and don't forget that du is lying - a lot. |
9 |
> > |
10 |
> > No it doesn't, du is very exact. |
11 |
> |
12 |
> nope, it is lying. |
13 |
|
14 |
No it's not :-) |
15 |
|
16 |
Be prepared to find out stuff: |
17 |
|
18 |
> du -h /var |
19 |
> |
20 |
> 31G /var |
21 |
|
22 |
This is the total size of all files below /var, measured as actual allocatable |
23 |
disk space consumed, not the sum of the size of all files. |
24 |
|
25 |
> df -h |
26 |
> /dev/md2 18G 5,4G 13G 31% /var |
27 |
|
28 |
This is the *filesystem* mounted at /var, the data comes from it's superblock |
29 |
|
30 |
> |
31 |
> as I said - lying ;) |
32 |
|
33 |
I say you have other filesystems mounted below /var somewhere, about 25G worth |
34 |
of stuff. Or, you have a 25G sparse file :-) |
35 |
|
36 |
-- |
37 |
alan dot mckinnon at gmail dot com |