1830895 Members
1517 Online
110017 Solutions
New Discussion

inode

 
j773303
Super Advisor

inode

what's the maximum of inode number?
Hero
4 REPLIES 4
Michael Tully
Honored Contributor

Re: inode

You can find the number of inodes from the 'bdf -i' output.
The actual maximum is detailed from the 'fstyp -v' output. There is no actual number for vxfs filesystems. There is for HFS filesystems, although only /stand is a HFS filesystem only by default. There is a limit on the number of directories, but this is 65535, so I don't think too many people will have a problem.
Anyone for a Mutiny ?
John Poff
Honored Contributor

Re: inode

Hi,

If you have an HFS filesystem you have a fixed limit of inodes. In a VxFS filesystem, the inodes are dynamically generated as needed, so the only real limit is the amount of space available.

Just curious, but why do you ask?

JP
S.K. Chan
Honored Contributor

Re: inode

For JFS you can think of it as "unlimited" as it is allocated dynamically. The only limit to this is the memory you have, the more you have it the more vxfs (JFS) inodes will be available. Also you can findout the inodes alocated for a vxfs by running ..
# echo vxfs_ninode/D | adb -k /stand/vmunix /dev/kmem
For HFS the limit is control by the kernel parameter "ninode". It determines the max amount of open inodes that can be in the memory.

Sunil Sharma_1
Honored Contributor

Re: inode

hi,

infact there is nothing ther like maximum inode number. I node number in a JFS file system doesn't have anylimit but in HFS by default you have 1 inode per 2k of dataspace.

you can change tgis value by passing parameters at the time of creation of file system.

and the number of open inode in system is limited by memory and kernel parametr.

Sunil S
*** Dream as if you'll live forever. Live as if you'll die today ***