1 |
On Tue, 28 Feb 2012 11:37:44 +0000 |
2 |
trevor donahue <donahue.trevor@×××××.com> wrote: |
3 |
|
4 |
> Hi everyone, |
5 |
> I'm experiencing a major problem right now. I've been using gentoo for |
6 |
> several months now and I simply lllooove it! |
7 |
> So here's the thing. When I use gentoo for a long time, even without |
8 |
> updating the current pack of installed software (emerge -uD world), I |
9 |
> am left without disk space... In situations like this I start deleting |
10 |
> /var/tmp/*, /tmp/*, /usr/portage/distfiles/*, maybe do even a |
11 |
> revdep-rebuild to fix something, but even then I'm left with no more |
12 |
> then 100 mb, which obviously is not enough ... |
13 |
> So this time I googled a bit and I deleted all the /usr/share/doc/ |
14 |
> and this left me with 2.5 gb of space (wow). |
15 |
> |
16 |
> So the questions are ... in cases like this, what should be done? |
17 |
> what is storing this much space? logs? |
18 |
|
19 |
The thing that is taking up your space is whatever is making big files |
20 |
or lots of files. |
21 |
|
22 |
Now that could be anything, you will have to look on your machine |
23 |
yourself and tell us what it is. |
24 |
|
25 |
Start here: |
26 |
|
27 |
du -sh /* |
28 |
|
29 |
Start with the biggest directory and recursively go deeper down into |
30 |
the structure till you find the major space hogs. |
31 |
|
32 |
Logs is one option, and a likely one. But by no means the only |
33 |
possibility. So just run du and find what it is on *your* box. |
34 |
|
35 |
|
36 |
|
37 |
-- |
38 |
Alan McKinnnon |
39 |
alan.mckinnon@×××××.com |