| « MySQL binary log space (Debian) | About Apple Design » |
Linux root partition full
10/15/07
Linux root partition full
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... ![]()
2 comments
Comment from: will trillich [Visitor]
du -s * | sort -nr | headthen, as you say, we dive into the offending directories and lather, rinse, repeat as needed. :)
02/18/08 @ 05:29
Comment from: Web Design [Visitor]
du -hs * | sort -nr | head
Then found the biggest directories.
We worked out that the offending party was "MYSQL" of all things.
I found the solution on this website:
http://forums.opensuse.org/install-boot-login/410499-root-partition-full.html
We moved mysql to the /home partition and that was that - done!
04/11/09 @ 19:22
This post has 1 feedback awaiting moderation...
