/ file system full issue

Hi All,

This is Babu working as a system administrator.

Here I am getting one problem with one of my Sun server's root (/) file system.
In df -h command / file system showing 7.8 GB used space.But in du -hd command it showing 5.2 gb only.

Please can any one help me resolve this issue where the remaning 2.6 gb using.

Thanks and Regards,

The remaining space is likely to be used by a process keeping removed file data alive by having it still open.

Unix doesnt actually release the space taken by deleted files until the last reference to them is gone.
This includes processes having the file open.

The usual cause is large log files that are still being written into.

So the only work around to rebooting is to stop and start the application in question.
Or otherwise persuade it to "rotate" its logfile.
Some application will do this on receiving a HUP or provide another mechanism to do the same thing.

you could also run a find in the /proc filesystem & looks for any open file with link count 0. this file is at fault. then find the process holding the file & restart the process. Something like: find /proc -type f -links 0 -ls