Cool Solutions

Missing Files and Directories on NSS Volumes on OES2 SP1 Linux



By:

July 17, 2009 3:05 pm

Reads: 5898

Comments:2

Score:0

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).

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Categories: Uncategorized

Disclaimer: This content is not supported by Novell. 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 it thoroughly before using it in a production environment.

2 Comments

  1. By:gldavis

    Nice Tip thanks for sharing.

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
  2. By:ta

    Yes, very nice tip. Thanks for sharing.

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)

Comment

RSS