Operating System - HP-UX
1832609 Members
2413 Online
110043 Solutions
New Discussion

Re: increase inodes on a filesystem HP-UX

 
Hari Prasad_1
Occasional Contributor

increase inodes on a filesystem HP-UX

Hi friends
This is Hari.
I have an issue where i am running out of "inodes" in a filesystem.(HP-UX)
To my knowledge we cannot increase inodes on HFS .
If it is Vxfs , it generates dynamically.
===============================================

But when i type "fstyp /dev/vgxx/volxx" i find "vxfs".
Also i get the alert "inode usage at 99%"
===============================================

Can anyone plz suggest on this.


Thanks
Hari
4 REPLIES 4
Thierry Poels_1
Honored Contributor

Re: increase inodes on a filesystem HP-UX

hi,

"inodes" is only relevant to HFS filesystems (nowadays that's mostly only /stand).
VXFS filesystems allocate inodes on the fly when needed.

regars,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Ashwani Kashyap
Honored Contributor

Re: increase inodes on a filesystem HP-UX

even though its a vxfs file system , someone might have limited the number of inodes during file ystem creation , specially if the file system houses a large number of small files .

Do a fstyp with -v option and see if it reports anything else .
KapilRaj
Honored Contributor

Re: increase inodes on a filesystem HP-UX

I believe there is a limit to number of inodes even on a VxFS filesystem though theory says it's not.

In your case , I would increase the filesystem little bit to make little more room for inodes.

Regds,

Kaps
Nothing is impossible
Bill Hassell
Honored Contributor

Re: increase inodes on a filesystem HP-UX

HFS filesystem inodes are all created when the filesystem is initialized (newfs). Once you run out, you can either:

1) unmount the filesystem, extend the lvol and then use extendfs to add the additional space to the filesystem. This will add more inodes.

2) Backup the entitre filesystem, unmount it, then re-create the filesystem with newfs and the -i option. The default is -i 6144, but you can change this to -i 4096 or lower to create a much larger number of inodes for the same space on the disk.


Bill Hassell, sysadmin