FIX: You receive an error message and a client computer may stop responding when you try to run the ls command to list files or subdirectories on a large directory in Windows Services for UNIX 2.3 (910609)



The information in this article applies to:

  • Microsoft Windows Services for UNIX 2.3 OEM Only
  • Microsoft Windows Storage Server 2003

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry

SYMPTOMS

Consider the following scenario. You are running Microsoft Windows Services for UNIX 2.3. On a client computer that uses network file system (NFS), you try to run the ls command to list files or subdirectories on a large directory. In this scenario, the client computer may stop responding or return incomplete results. Typically, this problem occurs every time that you run the ls command on the same directory. When this problem occurs, you receive an error message that is similar to the following:
There is not enough space.
Note The specific error message varies by client operating system.

CAUSE

This problem occurs because a same cookie value for two different files is created.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft Windows Services for UNIX service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

You must be running Windows Services for UNIX 2.3 to install this software update. You should only install this software update on a computer that is running Server for NFS.

Restart requirement

You do not have to restart the computer after you apply this software update.

Hotfix replacement information

This software update does not replace any other software update.

The English version of this software update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
File nameFile versionFile sizeDateTimePlatform
Clilocks.dll5.3000.2117.2178,33609-Nov-200522:33x86
Clusnfs.exe5.3000.2117.2131,74409-Nov-200522:33x86
Dsctrs.dll5.3000.2117.2122,52809-Nov-200522:33x86
Nfsonly.exe5.3000.2117.2124,06409-Nov-200522:33x86
Nfssh.dll5.3000.2117.2166,04809-Nov-200522:33x86
Nfsshare.exe5.3000.2117.2194,20809-Nov-200522:33x86
Nfsshex.dll5.3000.2117.21143,36009-Nov-200522:34x86
Nfssprop.dll5.3000.2117.21113,66409-Nov-200522:33x86
Nfssvc.exe5.3000.2117.2194,20809-Nov-200522:33x86
Nfssvr.sys5.3000.2117.21330,75209-Nov-200522:33x86
Portmap.sys5.3000.2117.2140,83209-Nov-200522:33x86
Regini.exe5.0.2134.135,60022-Jan-200501:08x86
Rpcxdr.sys5.3000.2117.2172,80009-Nov-200522:33x86
Upnfs3.exe5.3000.2117.2148,12809-Nov-200522:33x86

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

This software update applies to Windows Services for UNIX 2.3. To reduce the chance that Server for NFS generates duplicate cookies, this software update lets you configure the size of the cookie. By default, Server for NFS uses 32-bit cookies. This software update allows for 29-bit, 30-bit, 31-bit, 32-bit, or 64-bit cookies.

Additionally, this software update lets you disable file name hashing. By default, Server for NFS hashes file names to reduce the chance of generating duplicate cookies.

To apply this hotfix update, follow these steps:
  1. Run the Sfu23-kb910609-x86-enu.exe program from the current location or from a disk on which the software update program has been saved.
  2. To change cookie settings for Server for NFS 2, create the FileCookieV2Size registry subkey and value. To do this, follow these steps and then exit Registry Editor:
    1. Click Start, click Run, type regedit, and then click OK.
    2. Locate and then click the following key in the registry:

      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NfsSvr\Parameters\

    3. On the Edit menu, point to New, and then click Key.
    4. Type FileCookieV2Size, and then press ENTER.
    5. On the Edit menu, click Modify.
    6. Type 0, and then click OK.

      Note You may set the registry FileCookieV2Size subkey value to one of the following values:
      • 0 for 29-bit cookies
      • 1 for 30-bit cookies
      • 2 for 31-bit cookies
      • 3 for 32-bit cookies
      Additionally, NFS version 2 does not support 64-bit cookies.
  3. To change cookie settings for Server for NFS 3, create the FileCookieV3Size registry subkey and value. To do this, follow these steps, and then exit Registry Editor:
    1. Click Start, click Run, type regedit, and then click OK.
    2. Locate and then click the following key in the registry:

      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NfsSvr\Parameters\

    3. On the Edit menu, point to New, and then click Key.
    4. Type FileCookieV3Size, and then press ENTER.
    5. On the Edit menu, click Modify.
    6. Type 0, and then click OK.

      Note You may set the registry FileCookieV3Size subkey value to one of the following values:
      • 0 for 29-bit cookies
      • 1 for 30-bit cookies
      • 2 for 31-bit cookies
      • 3 for 32-bit cookies
      • 4 for 64-bit cookies
  4. To disable file name hashing for cookies for both Server for NFS 2 and Server for NFS 3, create the DisableFilenameHashing registry subkey and value. To do this, follow these steps:
    1. Click Start, click Run, type regedit, and then click OK.
    2. Locate and then click the following key in the registry:

      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NfsSvr\Parameters\

    3. On the Edit menu, point to New, and then click Key.
    4. Type DisableFilenameHashing, and then press ENTER.
    5. On the Edit menu, click Modify.
    6. Type 1, and then click OK.

      Note Set the value of the DisableFilenameHashing subkey to 0 to enable file name hashing.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Modification Type:MinorLast Reviewed:7/26/2006
Keywords:kbHotfixServer kbQFE kbfix kbbug kbpubtypekc KB910609 kbAudITPRO kbAudDeveloper