Operating System - HP-UX
1834484 Members
3705 Online
110067 Solutions
New Discussion

Max Files support in HPUX-11.00

 
roobala
Frequent Advisor

Max Files support in HPUX-11.00

Dear All,

HPUX-11.00 62Bit O/S.
There are two questions.

1. What is the Maximum Number of files supported in a directory.
2. What is the maximum Number of directories
supported in a Filesystem.

Any reference Documents for this Questions,

Thanks in Advance,
Roobala

6 REPLIES 6
federico_3
Honored Contributor

Re: Max Files support in HPUX-11.00

Rainer_1
Honored Contributor

Re: Max Files support in HPUX-11.00

Dan Hetzel
Honored Contributor

Re: Max Files support in HPUX-11.00

Hi,

As the maximum link count is 32767, you can have that number of files/directories in a directory. This includes . and .. directories

The maximum number of direcories/files (everything is a file...) in a filesystem is limited by the number of inodes on the filesystem.

Dan

Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
CHRIS_ANORUO
Honored Contributor

Re: Max Files support in HPUX-11.00

HP-UX 11.00 supports 1 trillion of filesystem and file size if the kernel is tuned properly. There is no record on a site that has reached this level.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Paula J Frazer-Campbell
Honored Contributor

Re: Max Files support in HPUX-11.00

Hi
Whilst you can have a large number of files in a dir, the greater the number the slower your system will be. To access a particular file in a dir the system first has to know where it is stored on the disks, so the more files the longer it takes. I know I am talking in milliseconds but they all add up.
I try to keep files per directory under 1024 - difficult at times I know but well worth it.

HTH

Paula
If you can spell SysAdmin then you is one - anon
Bill McNAMARA_1
Honored Contributor

Re: Max Files support in HPUX-11.00

You need to look at the kernel tuning parameters doc on docs.hp.com.
Really the max number of files open per filesystem all depend on how you tune your
kernel and how you created your filesystem.
Check your mount args to see if your filesystem
is mounted with the large files option. ie
greater than 2G. Max number of files open
is quite small by default 1024 I believe.. but
make sure you know what you're doing when
modifying your kernel becuase 1 param may
affect others.
http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html

Also when you've got large
files certain backup commands woun't work,
such as tar's I believe you can only backup
a file >2G with pax and fbackup...
It works for me (tm)