LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   du vs df (https://www.linuxquestions.org/questions/linux-general-1/du-vs-df-846486/)

biggles1963 11-25-2010 07:33 AM

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.

jlcasado 11-25-2010 08:17 AM

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

biggles1963 11-26-2010 12:38 AM

Many thank yous!


All times are GMT -5. The time now is 03:22 AM.