LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-25-2010, 07:33 AM   #1
biggles1963
LQ Newbie
 
Registered: Jul 2009
Location: Melbourne
Distribution: Mandriva 2008
Posts: 24

Rep: Reputation: 0
du vs df


du reports that the home partition holds 52G
ie:
52G /home
df -h on the other hand says /home has 386G used...
/dev/sda9 410G 386G 25G 95% /home
Can anyone tell me where my disk space has gone?

Robin.
 
Old 11-25-2010, 08:17 AM   #2
jlcasado
LQ Newbie
 
Registered: Oct 2010
Location: Madrid - Spain
Distribution: RHEL
Posts: 26

Rep: Reputation: 1
Hi Robin,

Most of the times the difference between du and df are due to temporary files that has been deleted but that they are still in use by a process till the process end and release them.

Options:
1) If you remember what file you removed maybe you can track the process it used it (typically with log files).
2) Check with lsof to see what processes has anything opened on that directories.
3) Restart the box...

Best regards
jose
 
Old 11-26-2010, 12:38 AM   #3
biggles1963
LQ Newbie
 
Registered: Jul 2009
Location: Melbourne
Distribution: Mandriva 2008
Posts: 24

Original Poster
Rep: Reputation: 0
Smile

Many thank yous!
 
  


Reply

Tags
df, disk usage, du


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 On
HTML code is Off



All times are GMT -5. The time now is 04:38 PM.

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