Operating System - HP-UX
1834650 Members
2514 Online
110069 Solutions
New Discussion

Re: Is there a limit to the number of files on a vxfs filesystem

 
SOLVED
Go to solution
nancy rippey
Trusted Contributor

Is there a limit to the number of files on a vxfs filesystem

Is there a limit to the number of files on a vxfs filesystem.

Thanks!
nancy
nrip
6 REPLIES 6
harry d brown jr
Honored Contributor

Re: Is there a limit to the number of files on a vxfs filesystem

One of the first limits you might hit is the number of available inodes:

bdf -i
Live Free or Die
Joseph C. Denman
Honored Contributor

Re: Is there a limit to the number of files on a vxfs filesystem

I don't think there is really a limit except for the number of inodes available on the filesystem. You can view the number if inodes with the df command.

df -i /data1

However, number of inodes will very from filesystem to filesystem depending on size, block size,.......


...jcd...
If I had only read the instructions first??
Alan Riggs
Honored Contributor
Solution

Re: Is there a limit to the number of files on a vxfs filesystem

No.

In a vxfs filesystem inode allocation will be dynamically increased if you run out of inodes. Thus, the limitation is actually on total space. If the filesystem runs out of space, therte will be no room to allocate new inodes (or to write a new file, for that matter).
James R. Ferguson
Acclaimed Contributor

Re: Is there a limit to the number of files on a vxfs filesystem

Hi Nancy:

There are no limits to the number of inodes in a VxFS filesystem.

The maximum number of directories in a VxFS filesystem has been limited to 32,767. This can be increased to a maximum of 2,147,483,647 [the maxiumum integer size] by tuning the 'vx_maxlink' kernel parameter. Patch PHKL_24201 implements this parameter.

...JRF...
nancy rippey
Trusted Contributor

Re: Is there a limit to the number of files on a vxfs filesystem

Alan and James,
Thanks for the info. It answered my ? completely. For some reason I am not able to assign points for the reponses I will try to assign in the morning.
Thanks again.
nancy
nrip

Re: Is there a limit to the number of files on a vxfs filesystem

Hi,
I have facing the same problem like you, now HP has provides the patch to extend the maximum number from 32,767 to 65,535. You have to install the following patch:

PHKL_24201

Anyway don't add the number more than 65,535 to the kernel parameters
SKE