Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-19-2012, 11:10 PM   #1
LQ Newbie
Registered: Nov 2012
Location: Islamabad, Pakistan
Posts: 19

Rep: Reputation: Disabled
Post Root Filesystem (/) appears almost Full

Dear Viewers,

I have a Linux WCCP Server. It's / appears 25G/30G even nothing large is stored on it. The Largest firetory stored on it is of 1.9G. I can't figured it out. I thoroughly checked it using this command:

du -sh *

I even restart the server so many time to referesh its inodes but every step is useless.

Can anyone help me? Quick response will be highly appreciated.

Muhammad Raheel Arshad
Systems Engineer
Old 11-20-2012, 01:01 AM   #2
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.7, Centos 5.10
Posts: 17,068

Rep: Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264
Well, this will measure by KB and sort numerically
du -s *|sort -k1 -n
then you need to go through the dirs, starting with the largest and figure out what's there.

You can use
df -h .
as you go to check that you're only looking at stuff on the '/' partition.
Old 11-20-2012, 02:12 AM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,357

Rep: Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617
I find it better to reverse sort, and pipe it to head. Then just start working your way down the list.
Old 11-20-2012, 10:09 AM   #4
Senior Member
Registered: Aug 2009
Distribution: CentOS
Posts: 2,660

Rep: Reputation: 1147Reputation: 1147Reputation: 1147Reputation: 1147Reputation: 1147Reputation: 1147Reputation: 1147Reputation: 1147Reputation: 1147
OK, by restarting the server you've eliminated the possibility of a large unlinked file held open by some process. One thing that remains is data hidden under an active mount point, the result, for example, of copying /home to a separate file system and then mounting that on /home without first removing the original content. Try this:
mkdir /tmp/tmproot
mount --bind / /tmp/tmproot
du -c --max-depth=2 /tmp/tmproot
If unwanted data shows up, you can delete it from /tmp/tmproot and free up that space in your root file system. Afterward, you can "umount /tmp/tmproot" and "rmdir /tmp/tmproot" and be back to normal (or, just reboot).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Root filesystem is full so unable to mount the second device smilemukul Linux - Newbie 4 03-09-2012 04:53 AM
[SOLVED] scratch space appears full but I can't find the files gunther123 Solaris / OpenSolaris 4 09-23-2010 05:38 PM
RHEL4 root directory says full but sum of use is nowhere near full. Why? SteveInTallyFL Linux - Server 11 02-05-2009 05:45 AM
Disk appears to be full, but I don't think it is richardhufford Linux - Newbie 7 06-15-2008 12:44 AM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 03:58 PM

All times are GMT -5. The time now is 07:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration