public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: James <wireless@tampabay.rr.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: File system full issues
Date: Wed, 15 Feb 2006 13:31:50 +0000 (UTC)	[thread overview]
Message-ID: <loom.20060215T142540-894@post.gmane.org> (raw)
In-Reply-To: 5bdc1c8b0602150442r34d9c943medde2bc25e543c54@mail.gmail.com

Mark Knecht <markknecht <at> gmail.com> writes:


> OK, good info - but what can I remove? Or more important how can I
> find what's talking up too much space. /home, /usr/portage and /var
> are on partitions of their own. There is about 200MB of Java stuff in
> /opt and I deleted everything in /tmp before I wrote the first note.

Well the first thing you need to do, is run a 'df' and see which
partitions are full. Then used these tools to find files by size and
date. Let's assume we're talking about /usr/portage/distfiles

for example:

REMOVING LARGE FILES IN /usr/portage/distfiles
find ./ -size +100000  -exec ls -lag {} \; | less       <lists large files>
find ./ -size +100000 -print -exec rm {} \;     <prints & removes large files>


You can then changethe size and work your way down. 

Now let's look at old files in /usr/portage/disfiles

REMOVING OLD FILES IN /usr/protage/distfiles
find ./ -mtime +180 -exec ls -lag {} \; | less
find ./ -mtime +180 -print -exec rm {} \;


It really helps if you do this a the 90% point, and avoid
sluggish behavior.

Look at /home too. If you have one big partition, as recommended
in the handbook then removing any files will help.

/usr/src/* is another place to remove kernel sources, similarly,
/boot/

Be cautions!

hth,
James

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-02-15 13:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-15 11:23 [gentoo-user] File system full issues Mark Knecht
2006-02-15 11:41 ` Mike Williams
2006-02-15 12:42   ` Mark Knecht
2006-02-15 13:31     ` James [this message]
2006-02-15 18:09       ` [gentoo-user] " Maarten
2006-02-15 19:08         ` Neil Bothwick
2006-02-15 22:10           ` Mark Knecht
2006-02-15 23:18     ` [gentoo-user] " Jürgen Pierau
2006-02-16 14:11     ` Frédéric Grosshans
2006-02-16 15:50       ` Mark Knecht
2006-02-16 16:32         ` Neil Bothwick
2006-02-17 15:19           ` Frédéric Grosshans
2006-02-17 16:07             ` Neil Bothwick
2006-02-17 16:49               ` Frédéric Grosshans
2006-02-17 17:09                 ` Mark Knecht
2006-02-17 17:15                 ` Neil Bothwick
2006-02-15 11:46 ` Pshem Kowalczyk
2006-02-15 11:56   ` Alexander Skwar

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=loom.20060215T142540-894@post.gmane.org \
    --to=wireless@tampabay.rr.com \
    --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