On Tue, 2012-02-28 at 13:52 +0200, Alan McKinnon wrote: > On Tue, 28 Feb 2012 11:37:44 +0000 > trevor donahue <donahue.tre...@gmail.com> wrote: > > > Hi everyone, > > I'm experiencing a major problem right now. I've been using gentoo for > > several months now and I simply lllooove it! > > So here's the thing. When I use gentoo for a long time, even without > > updating the current pack of installed software (emerge -uD world), I > > am left without disk space... In situations like this I start deleting > > /var/tmp/*, /tmp/*, /usr/portage/distfiles/*, maybe do even a > > revdep-rebuild to fix something, but even then I'm left with no more > > then 100 mb, which obviously is not enough ... > > So this time I googled a bit and I deleted all the /usr/share/doc/ > > and this left me with 2.5 gb of space (wow). > > > > So the questions are ... in cases like this, what should be done? > > what is storing this much space? logs? > > The thing that is taking up your space is whatever is making big files > or lots of files. > > Now that could be anything, you will have to look on your machine > yourself and tell us what it is. > > Start here: > > du -sh /* > > Start with the biggest directory and recursively go deeper down into > the structure till you find the major space hogs. > > Logs is one option, and a likely one. But by no means the only > possibility. So just run du and find what it is on *your* box. > > >
or "du|sort -rn|less" hogs are at the top ... BillK