[Ilugc] Need suggestion

  • From: kapil@xxxxxxxxxxx (Kapil Hari Paranjape)
  • Date: Sat Jul 19 06:17:09 2008

Hello,

On Sat, 19 Jul 2008, Zico wrote:

Here, i am really confused about this issue. My root ( / ) partition is
almost full. Now, what should i do? I mean, i don`t wanna reinstall my
Ubuntu again. But, the root ( / ) partition will be over very soon. Then?
What will happen? How can i survive without installing this Ubuntu again?

My partitions are like this:

Since you do not have a separate /var and /tmp it is likely that /var
or /tmp is full of stuff which you do not need. Otherwise, I find it
difficult to understand how 14G can be used by an installation of
Ubuntu (or any other distribution for that matter!).

However, this does not mean that you can go around deleting stuff
from /var or /tmp indiscriminately.

Check "du -ksh /tmp /var/tmp". If these are large then you might
want to install "tmpreaper" to clean these areas out systematically.

Check whether and with what frequency you are rotating your logs in
/var/log. If you do not already have "logrotate" then install it.
If you already have "logrotate" then see if the frequency of
rotation or the number of logs kept matches your needs.

If you have large databases or other stuff in "/var" then you
might want to put them on a different partition than "/". It looks like
"/home" is only partially used so you could do any of the following:

        a. Create a symbolic link to push the directory containing
        the database to "/home"
        b. "bind" mount the directory containing the database from
        "/home".
        c. resize "/home" in order to create some space for a new
        partition for the database.

By the way, waiting until you reach "96%" is not a good idea. You
should really have started thinking about this when you were at
"85%"!

Regards,

Kapil.
--

Other related posts: