We had just done a test migration of a NetWare NSS volume that contained thousands of subdirectories and millions of files. The Migration utility went fine as we migrated the data to NSS volume on OES2 SP1 Linux.
However, we noticed that when we attempted to view the directories with Windows Explorer (with the Novell 4.91 SP4 client on Windows XP), we didn't see all our data. It would seem that if we hit F5 to refresh the view, we might see more directories every time (although repeated refreshes would eventually crash Windows Explorer).
After opening a call with Novell, we found out that this is due to some default parameters with ncpcon on OES2 SP1 Linux.
In our case, one of the directories had a total of 833,363 subdirectories. One of those subdirectories contained 81,647 subdirectories as well (just to give an idea of how many directories this volume has).
Here's the two settings that pertain (you can view these by typing: ncpcon set)
The defaults are 50,000 and 20,000 respectively.
We set the value of the first parameter:
ncpcon set MAXIMUM_CACHED_SUBDIRECTORIES_PER_VOLUME=500000
And this resolved the issue.
According to the Novell technician, there is no upper limit to the values (in terms of a max value you can enter).
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.