1837197 Members
2282 Online
110115 Solutions
New Discussion

inod-sz problem

 
Girish_15
Occasional Contributor

inod-sz problem

Hi All,
We have 2 HPUX 11.11 machines and whenever I do sar -v 1 5 on one machine the output is
text-sz ov proc-sz ov inod-sz ov file-sz ov
N/A N/A 137/820 0 714/1088 0 688/1899 0

and on the another machine it is
text-sz ov proc-sz ov inod-sz ov file-sz ov
N/A N/A 129/820 0 0/1088 0 593/1899 0


As you can see both the machines have inod-sz as 1088 and on 1 machine the current inode usage is 700+ while on the another it stays 0.

My Question is which value is correct and is there any way I can have identical results ( or very less difference ) between the two.

Thanks,
Girish



4 REPLIES 4
Michael Tully
Honored Contributor

Re: inod-sz problem

These values can vary from system to system, depending on what is being utilised at the time. I ran a test on four servers and got similiar results to you.
Anyone for a Mutiny ?
Sundar_7
Honored Contributor

Re: inod-sz problem

inod-sz is based on the Kernel parameter ninode.

There is nothing to worry about the difference in the output. It depends on the number of inodes that are currently open in the machine.

in machine1, there seems to be lot of activity going on than machine2.

You can simply ignore the difference.
Learn What to do ,How to do and more importantly When to do ?
David Nixon
Valued Contributor

Re: inod-sz problem


Those sar statistics relate to the Inode cache for HFS type file systems.

If all file systems on one of your machines
were of type VxFS then that would explain
why its inode usage stays at zero.

So, despite the obvious difference, both values are "correct".


Dietmar Konermann
Honored Contributor

Re: inod-sz problem

The "problem" is fixed with PHKL_23241 (superseded by PHKL_30833):

( SR:8606179211 CR:JAGad48435 )
sar -v and glance show ninode usage (count of active inodes on the system) as 0.

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)