- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hard links limitation
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2001 05:55 AM
10-05-2001 05:55 AM
I found for myself, that there is a default limitation for number of sub-directories and this limitation is 32767 (LINK_MAX param).
Is anyone know how to change this parameter (if possible)?
Regards,
Nick
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2001 06:03 AM
10-05-2001 06:03 AM
SolutionYes, you can increase this value. From Technical Knowledge Base document #KBRC00007018:
/begin_quote/
...install PHKL_21210 (requires reboot) and the dependency PHKL_18543
PHKL_21210 information:
The number of subdirectories which can be created for VxFS is limitted to LINK_MAX
The patch introduced a new tunable for the Vertias filesystem (vx_maxlink) which can be used to override the MAXLINK value which governs the ceiling of subdirectory creation.
A new VxFS tunable (vx_maxlink) has been added which allows this limit to be changed to any value between LINK_MAX and INT_MAX (See limits(5)).
INT_MAX Max decimal value of an 2147483647 +
int
LINK_MAX Max number of links to a 32767 +*
single file
Special Installation Instructions: After patch is installed the vx_maxlink tunable can be set in /stand/system. At that time the system needs to be rebuilt and rebooted.
Since you are at the LINK_MAX limit you will need to build a new kernel after the patch is installed which specifies the value of vx_maxlink kernel tunable to a value less than 2147483647.
/end_quote/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2001 06:05 AM
10-05-2001 06:05 AM
Re: Hard links limitation
Sure, its defined in /usr/include/limits.h so you could modify this header file, but then you would need the source for sh, mkdir etc. commands so you could recompile them with the new limitation. No chance im afraid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2001 06:05 AM
10-05-2001 06:05 AM
Re: Hard links limitation
An alternative is to use symbolic links as these do not create any new directory entries, and therefore no ".." entries.
However !!!!
An 11.0 patch ( [PHKL_21210/PACHRDME/English] ) addressed this problem.
The patch introduced a new tunable for the Vertias
filesystem (vx_maxlink) which can be used to overridethe MAXLINK value which governs the ceiling of subdirectory creation. .... hope some of the above is of use ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2001 06:43 AM
10-05-2001 06:43 AM
Re: Hard links limitation
One thing to bear in mind that directory searches are linear. Huge directories are thus very inefficient. If at all possible, use the directory structure as intended - a tree.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2001 09:07 AM
10-05-2001 09:07 AM
Re: Hard links limitation
Another question to this topic. Is anyone know how to tune also Solaris 7/8 and Linux (I guess Linux also have some default limit). With Solaris I saw 32K limitation as well as HP-UX with a little bit different error.
I know that I never will use even 32K directories, it's just for the test purpose.
Thanks one more time for your help!
Regards,
Nick