1833420 Members
2997 Online
110052 Solutions
New Discussion

Re: Freeing Inodes

 
Andrew Kaplan
Super Advisor

Freeing Inodes

I am running a 10.20 system and it is critically low on inodes. Aside from rebooting the system, is there a way to free up inodes on the fly? Thanks.
A Journey In The Quest Of Knowledge
4 REPLIES 4
Dave Olker
Neighborhood Moderator

Re: Freeing Inodes

Hi Andrew,

Are you referring to the "ninode" kernel parameter or some other parameter? How have you determined that you are running low on inodes? Are you using the Glance screen? Is there some other symptom you're seeing that leads you to believe you have an inode shortage? Some error message when launching an application or process?

The ninode parameter is used to track HFS inodes. Are your filesystems using HFS or do most of them use VxFS?

In answer to your specific question, I don't know of any way to "free up" inodes aside from stopping any applications that are using these inode references. If you are going to have to reboot your system anyway, you might want to take this opportunity to rebuild your kernel with a higher value for ninode, if that is the parameter you're concerned about.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Kent Ostby
Honored Contributor

Re: Freeing Inodes

You cannot fix a problem related to ninode on the fly under 10.20.

You can increase the parm size of ninode or maxusers and rebuild the kernel and reboot.

If its on the actual filesystem, you will need to back up your data, remake the filesystem with a higher inode density and restore files.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
DCE
Honored Contributor

Re: Freeing Inodes

If the system is HFS, the only way that I know of to free up inodes other than rebooting is deleting closed files.

If the files cannot be deleted, then you will have to change the ninode parameter, regen the kernel, and reboot the system.
Raj D.
Honored Contributor

Re: Freeing Inodes

Hi Andrew ,

Check with # sar -v 5 5 , the usage.
Also you can check with :
# glance -t

You can try increasing the ninode parameter.
It will need a reboot.

hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "