Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

inode question

Charles McCary
Valued Contributor

inode question

Has anyone worked with large numbers of small files? I have a situation where I need to store a large number of small files. I know there is an inode limit, but what is it on 11.x vxfs? Also, any other issues?

Rob Smith
Respected Contributor

Re: inode question

There is no inode limit on vxfs, vxfs dynamically allocates inodes as necessary where hfs has a fixed number of inodes.

Rob Smith
Learn the rules so you can break them properly.
Steve Faidley
Valued Contributor

Re: inode question

jfs dynamically allocates inodes. No need to worry.
Check the link below for HP's answer.
If it ain't broke, let me have a look at it.
Carsten Krege
Honored Contributor

Re: inode question

There is no problem with a lot of inodes on VxFS.

However, if the filesystem is very dynamic (ie. a lot of files are created and removed, the size of files changes) AND you have the Advanced Online JFS product you might want to defragment your filesystem more often as usual. The problem is for example that your directory inode can grow very large and can become very fragmented. In bad cases this can have a severe performance impact. This is more likely to occur if you use many small files on a dynamic filesystem.

To defragment (with Advanced (Online) JFS only) use

# fsadm -F vxfs -d -e -D -E

You cannot defragment on Base JFS. Refer also to the fsadm_vxfs(1m) man page.

In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
Honored Contributor

Re: inode question

On a JFS filesystem, there is no inode limit. It is advisable to limit ninode value below 4000 in the kernel for performance purposes. Check with sar -v or Glance
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.