1835238 Members
2164 Online
110078 Solutions
New Discussion

Re: Help / out of inodes

 
SOLVED
Go to solution
Ulama
Occasional Advisor

Help / out of inodes

dear all,

I've D220 running hp-ux 10.20. and today in the syslog files has message : out of inodes. then i issued command bdf -i, shows :
# bdf -i
Filesystem kbytes used avail %used iused ifree %iuse Mounted on
/dev/vg00/lvol3 139541 68841 56745 55% 22656 0 100% /

/ reaches 100% of iuse.

Pls help me to resolve the problem.

Thanks,

Otong!
8 REPLIES 8
Sundar_7
Honored Contributor

Re: Help / out of inodes

hmm..so I assume your / is a HFS file system ?

As far as I can reach, only onething I can suggest is to look for files that you can remove.


Learn What to do ,How to do and more importantly When to do ?
Ulama
Occasional Advisor

Re: Help / out of inodes

Thanks for your respond Sundar,

Yes you're right the file system is HFS

So, how to find file which using a large of inode ?

thanks,

Otong!
Sundar_7
Honored Contributor

Re: Help / out of inodes

Hi Otong,

Irrespective of the size of the file, it can occupy only one I-node. So you are effectively having 22656 files (or near about) in your /.

Look for the files created your sys admins in / that can be removed.

Or just wait for a better suggestion from the forum :-)
Learn What to do ,How to do and more importantly When to do ?
T G Manikandan
Honored Contributor
Solution

Re: Help / out of inodes

YOu have got two choices,

1.Move files from the / file system to some other file system which will free up the inodes

2.Extend the size of the / file system using IGNITE-UX.

As / ia a hfs file system ,the number of inodes is fixed during the file system creation time.

Check for the unrequired files on the / file system and then move those files to some other file system.


Revert
Isralyn Manalac_1
Regular Advisor

Re: Help / out of inodes

Hi Otong,

If you run out of inodes, review the files in your filesystem and determine if any files can be deleted.

Regards,

ira
Robert-Jan Goossens
Honored Contributor

Re: Help / out of inodes

Hi Otong,

Try creating a log file of your / filesystem.

# find . -type f -xdev -exec ll {} \; > /tmp/lvol_log

check the logfile for files which should not be in root filesytem.

Hope this helps,
Robert-Jan.
Klaas D. Eenkhoorn
Regular Advisor

Re: Help / out of inodes

Otong,

What you can do is create one or more new logical volumes for directories with a lot of files and mount them on your '/' volume
This effectivly moves a lot of files using preciuos i-nodes to a new filesystem.

If you create these new volumes in the rootvolume group and use Ignite with the '-A' option the new volumes will be included in you bootable backup also.

Kl@@s
MarkSyder
Honored Contributor

Re: Help / out of inodes

Don't forget to look for and delete core files:

find / -name core -print

I've suggested print rather than rm because developers sometimes create essential files called core. It's almost always safe to delete files called core, but if in doubt check first.

file core will usually return the result "core file from (application)".

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing