[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 97% use of / system



On Thu, May 22, 2008 at 05:56:23PM +0100, andy wrote:

> My / partition is some 12GB and I see that it is currently 97% full.
> How can I clean this out without trashing important files? What should
> I be looking for in terms of likely culprits that can be deep-sixed
> safely?

The du utility, as well as find's size flag, are your friends. It could
be lots of things, but the most common culprits IMHO are:

    - not having a separate /var and /tmp partition
    - packages that use /opt or /srv, which are rarely on a separate
      partition
    - cruft in ~root
    - GUI file deletion tools that use trash directories
    - unlinked open files on a non-separate /usr directory (e.g. doing a
      massive dist-upgrade without a reboot)

As a point of comparison, my root partition is only using 330MB, so you
definitely have some work ahead of you. :)

-- 
"Oh, look: rocks!"
	-- Doctor Who, "Destiny of the Daleks"


Reply to: