1830862 Members
2658 Online
110017 Solutions
New Discussion

Inode problem?

 
SOLVED
Go to solution
Michael Gretton
Frequent Advisor

Inode problem?

I have a server with the /var directory full. I have cleaned out some logs that are eating space but I am still not gaining any space on the FS. I remember that this might be an inode release problem. Is there a way to release these inodes without having to reboot?

I am not certain this is the problem. If I have it wrong, pls let me know.

Ooops accidently posted this to databases. If there is a moderator, pls delete that thread. Sorry...

Thanks,

Mike
5 REPLIES 5
Ken Hubnik_2
Honored Contributor
Solution

Re: Inode problem?

Do you have something writing to /var/tmp so as soon as you clean some space it is being used up by a process writting to /var/tmp.
Pete Randall
Outstanding Contributor

Re: Inode problem?

Mike,

Try "du -sk /var/* |sort -n" to see if you can spot something in the heavy hitter's list. If you can get rid of one big one, you'll be OK until you can deal with it.

Pete

Pete
John Poff
Honored Contributor

Re: Inode problem?

Hi,

You might have a file that has been deleted but is still being held open by a process. If that has happened your disk space won't be freed up until the process dies. If you have 'lsof' you can run it and see what files each process has open in /var.

JP
harry d brown jr
Honored Contributor

Re: Inode problem?


get lsof at
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.64/

and see what files are open then check to see if they show up in those directories. If not, then STOP those processes and magically watch the space come back.

live free or die
harry
Live Free or Die
Bill McNAMARA_1
Honored Contributor

Re: Inode problem?

note the lsof on the porting archive is only compiled for a 32 bit kernel, you may prefer to get the 64 bit version from:
see:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xee1a6049dbb6d611abdb0090277a778c,00.html
It works for me (tm)