You experience a delay before the list of new files is returned when you run the DIR command or the LS command after you upgrade to Windows Services for UNIX 3.0 or to Windows Services for UNIX 3.5 (894071)
The information in this article applies to:
- Microsoft Windows Services for UNIX 3.5
- Microsoft Services for Unix 3.0
Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows Registry SYMPTOMSAfter you upgrade Microsoft Windows Services for UNIX 2.0 either to Microsoft Windows Services for UNIX 3.0 or to Microsoft Windows Services for UNIX 3.5, you experience a delay before the list of new files or of new folders is returned when you run the DIR command or the LS command. For example, this problem occurs when you follow these steps: - You mount a network file system (NFS) share using Client for NFS.
- You change the drive to the mounted NFS share.
- You run the DIR command on the mounted NFS share.
- In UNIX, you copy new files to the NFS share that you mounted in step 1.
- You repeat the DIR command until the new files are listed.
Note It may take 20 to 30 seconds before the new files are listed.
CAUSEThis problem occurs because Client for NFS caches the folder contents of the NFS share for a default time of 30 seconds. WORKAROUNDWarning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. To work around this problem, create a registry entry that controls the default time before the cache is invalidated. To do this, follow these steps: - Click Start, click Run, type regedit, and then click OK.
- Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\Software\Microsoft\Client for NFS\CurrentVersion\Users\Default - On the Edit menu, point to New, and then click Key.
- Type Cache, and then press ENTER.
- Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\Software\Microsoft\Client for NFS\CurrentVersion\Users\Default\Cache - On the Edit menu, point to New, and then click DWORD Value.
- Type AttributeTimeDelta, and then press ENTER.
- Right-click AttributeTimeDelta, and then click Modify.
- In the Edit DWORD Value dialog box, click Decimal, type a value that is less than the default value of 30 seconds, and then click OK.
- On the File menu, click Exit.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Minor | Last Reviewed: | 11/15/2005 |
---|
Keywords: | kbtshoot kbprb kbinfo KB894071 kbAudDeveloper kbAudITPRO |
---|
|