LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-15-2011, 04:43 AM   #1
matters
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 281

Rep: Reputation: Disabled
my root partition becomes full


hey guys! ive been strugling with it for sometime.

my root partition became almost full for quite some time now im wondering how i can see what file caused rapid filling of root partition?

also when using du command i get this:
Code:
du: cannot access `proc/1613/task/1613/fd/3': No such file or directory
du: cannot access `proc/1613/task/1613/fdinfo/3': No such file or directory
du: cannot access `proc/1613/fd/3': No such file or directory
du: cannot access `proc/1613/fdinfo/3': No such file or directory
im wondering what causes it.

thanks!
 
Old 10-15-2011, 05:11 AM   #2
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,903

Rep: Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025
/proc isn't a normal filesystem so those sorts of errors are normal (it most likely means that those processes are no longer running). The -x option will prevent du trying to read through proc.

The way I tackle this sort of thing is to do
Code:
du -xSb / | sort -n
Which will present you with a list of directories and the size in bytes of their contents (not including subdirectories which will have their own entries), from smallest to largest. Then you can just scroll back through the list and find ones which seem to look bigger than they should be..

It won't find the culprit every time as open files may not show up in a du scan, but it's a good starting point.

Last edited by GazL; 10-15-2011 at 05:13 AM.
 
1 members found this post helpful.
Old 10-15-2011, 05:23 AM   #3
matters
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 281

Original Poster
Rep: Reputation: Disabled
@gazl thanks for clarification problem solved!
 
  


Reply



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
root partition full redhawk1973 Ubuntu 8 03-10-2009 10:07 AM
root partition full trashbird1240 Slackware 10 05-27-2008 09:04 PM
root partition full laan97ac Mandriva 6 07-23-2007 01:09 PM
root ('/') partition is FULL inon^ Linux - Hardware 2 08-08-2005 01:19 PM
Root partition is full, what now? Joe Soap Linux - Newbie 30 03-31-2005 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:21 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration