Article

khurni's picture
article
Reads:

5611

Score:
4.333335
4.3
3
 
Comments:

2

Missing Files and Directories on NSS Volumes on OES2 SP1 Linux

Author Info

17 July 2009 - 2:05pm
Submitted by: khurni

(View Disclaimer)

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)

MAXIMUM_CACHED_SUBDIRECTORIES_PER_VOLUME

and

MAXIMUM_CACHED_FILES_PER_VOLUME

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.




User Comments

gldavis's picture

Nice Tip

Submitted by gldavis on 20 July 2009 - 10:24am.

Nice Tip thanks for sharing.

ta's picture

Yes very nice tip

Submitted by ta on 1 August 2009 - 1:04am.

Yes, very nice tip. Thanks for sharing.

© 2013 Novell