En Fr
Web/database development and more...
« MySQL binary log space (Debian)About Apple Design »

Linux root partition full

10/15/07

English (US) Linux root partition full

Permalink 12:19:48 am, by Francois PLANQUE Email , Categories: Linux stuff

Oh my... nothing puts a server down on its knees more than a root partition with 0% free space. Oh well, ok, maybe being dugg beats it. But still, when you have a full partition, you're in trouble...

First thing is to find what is using that much space. My best bet is to do this:

cd /
du -s *

You may also like du -sh * which will show human readable sizes.

Then you just need to cd into the largest dir and iterate... ;)

1 comment

Comment from: will trillich [Visitor] · http://faq.serensoft.com/
we do the same here, adding "sort -nr" to get the primary suspects up top:

du -s * | sort -nr | head

then, as you say, we dive into the offending directories and lather, rinse, repeat as needed. :)
02/18/08 @ 05:29

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)

Weblog on development, technology, the Internet, databases, open-source, weblogs and presumably some geeky stuff too... :P

Search

XML Feeds

powered by b2evolution