1833883 Members
1663 Online
110063 Solutions
New Discussion

Max number of links

 
Tina Stevnhoved
Occasional Contributor

Max number of links

Hi,

I got a error-message from oracle, telling me "too man levels of symbolic links".

I'm not sure if it is because of too many link to a link to a link to a link etc. or if it isn't possible to create more links!

Is there a limit for how many links it is possible to create in the end of eachother (a link to a link to a link etc.)?

How do I increase the max. number of links?

How many links is it by default possible to create at a "system" (dir/LV/lvol), and how do I increase this numer of links?

Regards

Tina Stevnhoved

3 REPLIES 3
Jeff Schussele
Honored Contributor

Re: Max number of links

Hi Tina,

The max number of links to a file is 32767.
This is hardcoded in /usr/include/limit.h & cannot be changed. I believe that links to links to links would all add up if they all eventually point to the same file.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jeff Schussele
Honored Contributor

Re: Max number of links

Oops sorry...that should be

/usr/include/limits.h

Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!