Operating System - HP-UX
1824963 Members
3527 Online
109678 Solutions
New Discussion юеВ

determine number of inodes and max number of inodes

 
Donald Thaler
Super Advisor

determine number of inodes and max number of inodes

How does one determine the max number of inodes available and the number of inodes currently being used. Also I have 8 30gb (240)drives and when i add up the total number of space allocated to the logical devices I come up with 222gb out of 240 gb. Is this 18 gb available to be allocated?
5 REPLIES 5
Eric Antunes
Honored Contributor

Re: determine number of inodes and max number of inodes

Hi,

"sar -v 3 33" will give this info.

Best Regards,

Eric Antunes

Each and every day is a good day to learn.
AndyMueller
Frequent Advisor

Re: determine number of inodes and max number of inodes

I think you may get that information by looking at:
kmtune |grep inode

Then to see how many are in use, go to glance, enter "M" for Mem Rpt, enter "t", then enter the plus symbol, i.e "+"

Hope that helps
Andy
Kent Ostby
Honored Contributor

Re: determine number of inodes and max number of inodes

bdf -i will show on a per filesystem basis the number of inodes.

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
erics_1
Honored Contributor

Re: determine number of inodes and max number of inodes

What type of enclosure are the disks part of? For instance, an autoraid will reserve space for a hot spare which will consume disk space. If just jbod, what is the max pe per pv value in vgdisplay output? Does vgdisplay show any 'free pe' in the vg?
Sivakumar TS
Honored Contributor

Re: determine number of inodes and max number of inodes


Dear Donald,

execute

# sar -v 1 1


This Report status of text, process, inode and file tables:

text-sz (Not Applicable);

proc-sz The current-size and maximum-size of the
process table;

inod-sz The current-size and maximum-size of the
inode table (inode cache);

file-sz The current-size and maximum-size of the
system file table;

text-ov (Not Applicable);

proc-ov The number of times the process table
overflowed (number of times the kernel
could not find any available process
table entries) between sample points;

inod-ov The number of times the inode table
(inode cache) overflowed (number of
times the kernel could not find any
available inode table entries) between
sample points;

file-ov The number of times the system file
table overflowed (number of times the
kernel could not find any available file
table entries) between sample points.


The above is from the man page of sar

HtH,

Siva.
Nothing is Impossible !