LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

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.

Regards,
Muhammad Raheel Arshad
Systems Engineer
 
Old 11-20-2012, 01:01 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5
Posts: 16,086

Rep: Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994
Well, this will measure by KB and sort numerically
Code:
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
Code:
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
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,795

Rep: Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923
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
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 1,157

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
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:
Code:
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).
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 08:12 AM.

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