1

I have an old RHEL 5.5 Box,

When I fire df -kh I see that /var is of 49 GB with 100 % usage.

But then I go inside the /var

cd /var

and I fire

du -kh

I see that only total 300 MBs are used.

I am not able to get it. Is is possible that this partition is shared with different partition?

I see that /opt is also of 49 GB. I think that they are same partition.

I need to free /var to start mysql but there is hardly anything to be deleted.

Any pointers?

1 Answers1

2

Its possible that youve deleted a lot of files, they arent on disk, but the process still has them open. Restart the process that you think has them open. Sometimes merely a kill -HUP will do it.

To find the processes that have files in this filesystem open, use fuser -c <filesustem> or lsof +L1 | grep <filesystem>

Sirch
  • 5,885