Results 1 to 3 of 3
Hi,
I am facing a strange problem in my server, One of my filesystem shows as 3.1G when I execute df -h command and the utilization shows as 83%, but ...
- 12-22-2010 #1Just Joined!
- Join Date
- Nov 2007
- Posts
- 8
Disk Space Utilization Problem
Hi,
I am facing a strange problem in my server, One of my filesystem shows as 3.1G when I execute df -h command and the utilization shows as 83%, but when I cd to the directory /usr/local I could not find any huge files in that filesystem and I have searched for hidden files as well, any help?
groupserver:~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda9 3.1G 2.5G 532M 83% /usr/local
groupserver:/usr/local # du -sh *
0 bin
93M abinav
4.0K dspace.txt
0 games
0 include
0 lib
12K man
0 sbin
0 share
0 src
5.2M temp
Thanks,
Puru
- 12-22-2010 #2
my guess, either you or a script has deleted a file while it was in use. To free the space (release the phantom files) you need to unmount the filesyem, fsck it (not entirely necessary, but highly recomended,) and remount it.
The easiest way to do this is to just reboot the box. If that's not an option, you need to make sure no processes are still using files (use lsof for this) and then unmount it. Note that you can not have a shell opened that is currenty in that directory.New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 12-23-2010 #3Just Joined!
- Join Date
- Nov 2007
- Posts
- 8
Hi,
Great thanks to you, actually Java was accessing that deleted files, I have restarted Java and the usage becomes normal now.
Thanks,
Puru


Reply With Quote