LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   linux partion is not shoing the proper free disk space (https://www.linuxquestions.org/questions/linux-desktop-74/linux-partion-is-not-shoing-the-proper-free-disk-space-926830/)

rajini23 01-31-2012 11:15 PM

linux partion is not shoing the proper free disk space
 
Hi,

I got /home partation full 100% so i have deleted some folder around 5GB and when i give df -h
it shows only 2.7GB free remaining space not able to find.
I user CentOS operation system

Please help me on this ......

fukawi1 02-01-2012 12:24 AM

One thing to check, if you deleted the files with a the GUI, they may not have been deleted, they may have only been moved to the "trash".

kasl33 02-01-2012 01:00 AM

I concur

rajini23 02-01-2012 01:11 AM

Hi Thanks for your update, i have deleted the files through putty.....by taking the machine through remote...

fukawi1 02-01-2012 01:36 AM

Another option, depending on the files you have deleted.
They may be being "held" by latent process..
Code:

lsof | grep 'deleted'
Will show any such files..
Killing the process should free the space, allow df to report it correctly.

(Im possibly not doing a good job of explaining this, but I had a similar problem some years ago, and fixed it this way)


All times are GMT -5. The time now is 11:53 PM.