From: Alex Schuster <wonko@wonkology.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Freeing up disk space problem!!
Date: Tue, 28 Feb 2012 14:01:50 +0100 [thread overview]
Message-ID: <20120228140150.2b35b864@weird.wonkology.org> (raw)
In-Reply-To: <CALMtN6wNY5K4350=Sd3UyPsPmnf64tjHpTJsrz+28cgJ2pXyeA@mail.gmail.com>
trevor donahue writes:
> 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 ...
Use eclean-dist and eclean-pkg (in app-portage/gentoolkit) to delete your
distfiles.
If you instantly need more space, reduce the amount of reserved space for
the superuser, which is 5% as default:
tune2fs -m 2 /dev/your/partition
Don't reduce it to 0, the lower this value is, the more fragmentation you
will get.
> 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?
You need to find out for yourself. I sometimes simply do a du -mx
--max-depth=1 / to see which directory has what amount of data in it.
Repeat for interesting directories like /usr/share/doc, and you will see
what takes big space. Add a '| sort -n' to get sorted output. Or better
use sys-fs/ncdu which is interactive.
If you prefer something graphical, there are many alternatives:
Baobab in gnome-extra/gnome-utils
kde-base/filelight
k4dirstat in kde-misc/kdirstat
Konqueror -> View -> View Mode -> File Size View (or something like that
in English)
jdiskreport in sys-fs/jdiskreport-bin
Wonko
next prev parent reply other threads:[~2012-02-28 13:03 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-28 11:37 [gentoo-user] Freeing up disk space problem!! trevor donahue
2012-02-28 11:52 ` Alan McKinnon
2012-02-28 13:37 ` William Kenworthy
2012-02-28 11:57 ` Mick
2012-02-28 11:59 ` [gentoo-user] " Nikos Chantziaras
2012-02-28 12:24 ` [gentoo-user] " YoYo Siska
2012-02-28 12:50 ` trevor donahue
2012-02-28 13:25 ` Neil Bothwick
2012-02-28 13:01 ` Alex Schuster [this message]
2012-02-28 13:27 ` Neil Bothwick
2012-02-28 23:25 ` Alex Schuster
2012-02-29 0:32 ` Neil Bothwick
2012-02-29 1:05 ` Alex Schuster
2012-02-29 6:22 ` Neil Bothwick
2012-02-29 9:29 ` Alan McKinnon
2012-02-29 9:57 ` Neil Bothwick
2012-02-29 10:40 ` Alan McKinnon
2012-02-29 11:08 ` Neil Bothwick
2012-02-29 12:11 ` Alan McKinnon
2012-03-01 0:59 ` Frank Steinmetzger
2012-03-01 9:54 ` Neil Bothwick
2012-02-29 23:59 ` [gentoo-user] " walt
2012-03-01 0:43 ` Pandu Poluan
2012-02-29 0:48 ` [gentoo-user] " Dale
2012-02-29 1:01 ` Alex Schuster
2012-02-29 2:38 ` Dale
2012-02-29 6:17 ` Neil Bothwick
2012-02-29 7:10 ` Dale
2012-02-29 7:49 ` J. Roeleveld
2012-02-29 9:23 ` Alan McKinnon
2012-03-01 1:09 ` Frank Steinmetzger
2012-03-01 8:26 ` Alan McKinnon
2012-02-29 9:53 ` Neil Bothwick
2012-02-29 9:19 ` Alan McKinnon
2012-02-29 14:44 ` Dale
2012-02-29 7:43 ` J. Roeleveld
2012-02-29 13:06 ` Daddy
2012-02-29 14:44 ` Dale
2012-02-28 16:14 ` James Broadhead
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120228140150.2b35b864@weird.wonkology.org \
--to=wonko@wonkology.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox